home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / Borland Visual dBASE Professiona v7.0 / DATA1.CAB / Sample_Include / Winerror.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-20  |  119.5 KB  |  6,200 lines

  1. //--------------------------------------------------------------
  2. //
  3. //  WINERROR.H - Error code definitions for the Win32 
  4. //               API functions  
  5. //
  6. //  This file contains constants for the error 
  7. //  messages returned by the Windows API.
  8. //
  9. // 
  10. //  Visual dBASE Samples Group
  11. //
  12. //  $Revision:   1.2  $
  13. //
  14. //  Portions copyright (c) 1991-1995, Microsoft Corp. 
  15. //
  16. //--------------------------------------------------------------
  17.  
  18.  
  19. #ifndef _WINERROR_
  20. #define _WINERROR_
  21.  
  22.  
  23. //
  24. //  Values are 32 bit values layed out as follows:
  25. //
  26. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  27. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  28. //  +---+-+-+-----------------------+-------------------------------+
  29. //  |Sev|C|R|     Facility          |               Code            |
  30. //  +---+-+-+-----------------------+-------------------------------+
  31. //
  32. //  where
  33. //
  34. //      Sev - is the severity code
  35. //
  36. //          00 - Success
  37. //          01 - Informational
  38. //          10 - Warning
  39. //          11 - Error
  40. //
  41. //      C - is the Customer code flag
  42. //
  43. //      R - is a reserved bit
  44. //
  45. //      Facility - is the facility code
  46. //
  47. //      Code - is the facility's status code
  48. //
  49. //
  50. // Define the facility codes
  51. //
  52. #define FACILITY_WINDOWS                 8
  53. #define FACILITY_STORAGE                 3
  54. #define FACILITY_RPC                     1
  55. #define FACILITY_WIN32                   7
  56. #define FACILITY_CONTROL                 10
  57. #define FACILITY_NULL                    0
  58. #define FACILITY_ITF                     4
  59. #define FACILITY_DISPATCH                2
  60.  
  61.  
  62. //
  63. // Define the severity codes
  64. //
  65.  
  66.  
  67. //
  68. // MessageId: ERROR_SUCCESS
  69. //
  70. // MessageText:
  71. //
  72. //  The operation completed successfully.
  73. //
  74. #define ERROR_SUCCESS                    0
  75.  
  76. #define NO_ERROR 0                                                 && dderror
  77.  
  78. //
  79. // MessageId: ERROR_INVALID_FUNCTION
  80. //
  81. // MessageText:
  82. //
  83. //  Incorrect function.
  84. //
  85. #define ERROR_INVALID_FUNCTION           1    && dderror
  86.  
  87. //
  88. // MessageId: ERROR_FILE_NOT_FOUND
  89. //
  90. // MessageText:
  91. //
  92. //  The system cannot find the file specified.
  93. //
  94. #define ERROR_FILE_NOT_FOUND             2
  95.  
  96. //
  97. // MessageId: ERROR_PATH_NOT_FOUND
  98. //
  99. // MessageText:
  100. //
  101. //  The system cannot find the path specified.
  102. //
  103. #define ERROR_PATH_NOT_FOUND             3
  104.  
  105. //
  106. // MessageId: ERROR_TOO_MANY_OPEN_FILES
  107. //
  108. // MessageText:
  109. //
  110. //  The system cannot open the file.
  111. //
  112. #define ERROR_TOO_MANY_OPEN_FILES        4
  113.  
  114. //
  115. // MessageId: ERROR_ACCESS_DENIED
  116. //
  117. // MessageText:
  118. //
  119. //  Access is denied.
  120. //
  121. #define ERROR_ACCESS_DENIED              5
  122.  
  123. //
  124. // MessageId: ERROR_INVALID_HANDLE
  125. //
  126. // MessageText:
  127. //
  128. //  The handle is invalid.
  129. //
  130. #define ERROR_INVALID_HANDLE             6
  131.  
  132. //
  133. // MessageId: ERROR_ARENA_TRASHED
  134. //
  135. // MessageText:
  136. //
  137. //  The storage control blocks were destroyed.
  138. //
  139. #define ERROR_ARENA_TRASHED              7
  140.  
  141. //
  142. // MessageId: ERROR_NOT_ENOUGH_MEMORY
  143. //
  144. // MessageText:
  145. //
  146. //  Not enough storage is available to process this command.
  147. //
  148. #define ERROR_NOT_ENOUGH_MEMORY          8    && dderror
  149.  
  150. //
  151. // MessageId: ERROR_INVALID_BLOCK
  152. //
  153. // MessageText:
  154. //
  155. //  The storage control block address is invalid.
  156. //
  157. #define ERROR_INVALID_BLOCK              9
  158.  
  159. //
  160. // MessageId: ERROR_BAD_ENVIRONMENT
  161. //
  162. // MessageText:
  163. //
  164. //  The environment is incorrect.
  165. //
  166. #define ERROR_BAD_ENVIRONMENT            10
  167.  
  168. //
  169. // MessageId: ERROR_BAD_FORMAT
  170. //
  171. // MessageText:
  172. //
  173. //  An attempt was made to load a program with an
  174. //  incorrect format.
  175. //
  176. #define ERROR_BAD_FORMAT                 11
  177.  
  178. //
  179. // MessageId: ERROR_INVALID_ACCESS
  180. //
  181. // MessageText:
  182. //
  183. //  The access code is invalid.
  184. //
  185. #define ERROR_INVALID_ACCESS             12
  186.  
  187. //
  188. // MessageId: ERROR_INVALID_DATA
  189. //
  190. // MessageText:
  191. //
  192. //  The data is invalid.
  193. //
  194. #define ERROR_INVALID_DATA               13
  195.  
  196. //
  197. // MessageId: ERROR_OUTOFMEMORY
  198. //
  199. // MessageText:
  200. //
  201. //  Not enough storage is available to complete this operation.
  202. //
  203. #define ERROR_OUTOFMEMORY                14
  204.  
  205. //
  206. // MessageId: ERROR_INVALID_DRIVE
  207. //
  208. // MessageText:
  209. //
  210. //  The system cannot find the drive specified.
  211. //
  212. #define ERROR_INVALID_DRIVE              15
  213.  
  214. //
  215. // MessageId: ERROR_CURRENT_DIRECTORY
  216. //
  217. // MessageText:
  218. //
  219. //  The directory cannot be removed.
  220. //
  221. #define ERROR_CURRENT_DIRECTORY          16
  222.  
  223. //
  224. // MessageId: ERROR_NOT_SAME_DEVICE
  225. //
  226. // MessageText:
  227. //
  228. //  The system cannot move the file
  229. //  to a different disk drive.
  230. //
  231. #define ERROR_NOT_SAME_DEVICE            17
  232.  
  233. //
  234. // MessageId: ERROR_NO_MORE_FILES
  235. //
  236. // MessageText:
  237. //
  238. //  There are no more files.
  239. //
  240. #define ERROR_NO_MORE_FILES              18
  241.  
  242. //
  243. // MessageId: ERROR_WRITE_PROTECT
  244. //
  245. // MessageText:
  246. //
  247. //  The media is write protected.
  248. //
  249. #define ERROR_WRITE_PROTECT              19
  250.  
  251. //
  252. // MessageId: ERROR_BAD_UNIT
  253. //
  254. // MessageText:
  255. //
  256. //  The system cannot find the device specified.
  257. //
  258. #define ERROR_BAD_UNIT                   20
  259.  
  260. //
  261. // MessageId: ERROR_NOT_READY
  262. //
  263. // MessageText:
  264. //
  265. //  The device is not ready.
  266. //
  267. #define ERROR_NOT_READY                  21
  268.  
  269. //
  270. // MessageId: ERROR_BAD_COMMAND
  271. //
  272. // MessageText:
  273. //
  274. //  The device does not recognize the command.
  275. //
  276. #define ERROR_BAD_COMMAND                22
  277.  
  278. //
  279. // MessageId: ERROR_CRC
  280. //
  281. // MessageText:
  282. //
  283. //  Data error (cyclic redundancy check)
  284. //
  285. #define ERROR_CRC                        23
  286.  
  287. //
  288. // MessageId: ERROR_BAD_LENGTH
  289. //
  290. // MessageText:
  291. //
  292. //  The program issued a command but the
  293. //  command length is incorrect.
  294. //
  295. #define ERROR_BAD_LENGTH                 24
  296.  
  297. //
  298. // MessageId: ERROR_SEEK
  299. //
  300. // MessageText:
  301. //
  302. //  The drive cannot locate a specific
  303. //  area or track on the disk.
  304. //
  305. #define ERROR_SEEK                       25
  306.  
  307. //
  308. // MessageId: ERROR_NOT_DOS_DISK
  309. //
  310. // MessageText:
  311. //
  312. //  The specified disk or diskette cannot be accessed.
  313. //
  314. #define ERROR_NOT_DOS_DISK               26
  315.  
  316. //
  317. // MessageId: ERROR_SECTOR_NOT_FOUND
  318. //
  319. // MessageText:
  320. //
  321. //  The drive cannot find the sector requested.
  322. //
  323. #define ERROR_SECTOR_NOT_FOUND           27
  324.  
  325. //
  326. // MessageId: ERROR_OUT_OF_PAPER
  327. //
  328. // MessageText:
  329. //
  330. //  The printer is out of paper.
  331. //
  332. #define ERROR_OUT_OF_PAPER               28
  333.  
  334. //
  335. // MessageId: ERROR_WRITE_FAULT
  336. //
  337. // MessageText:
  338. //
  339. //  The system cannot write to the specified device.
  340. //
  341. #define ERROR_WRITE_FAULT                29
  342.  
  343. //
  344. // MessageId: ERROR_READ_FAULT
  345. //
  346. // MessageText:
  347. //
  348. //  The system cannot read from the specified device.
  349. //
  350. #define ERROR_READ_FAULT                 30
  351.  
  352. //
  353. // MessageId: ERROR_GEN_FAILURE
  354. //
  355. // MessageText:
  356. //
  357. //  A device attached to the system is not functioning.
  358. //
  359. #define ERROR_GEN_FAILURE                31
  360.  
  361. //
  362. // MessageId: ERROR_SHARING_VIOLATION
  363. //
  364. // MessageText:
  365. //
  366. //  The process cannot access the file because
  367. //  it is being used by another process.
  368. //
  369. #define ERROR_SHARING_VIOLATION          32
  370.  
  371. //
  372. // MessageId: ERROR_LOCK_VIOLATION
  373. //
  374. // MessageText:
  375. //
  376. //  The process cannot access the file because
  377. //  another process has locked a portion of the file.
  378. //
  379. #define ERROR_LOCK_VIOLATION             33
  380.  
  381. //
  382. // MessageId: ERROR_WRONG_DISK
  383. //
  384. // MessageText:
  385. //
  386. //  The wrong diskette is in the drive.
  387. //  Insert %2 (Volume Serial Number: %3)
  388. //  into drive %1.
  389. //
  390. #define ERROR_WRONG_DISK                 34
  391.  
  392. //
  393. // MessageId: ERROR_SHARING_BUFFER_EXCEEDED
  394. //
  395. // MessageText:
  396. //
  397. //  Too many files opened for sharing.
  398. //
  399. #define ERROR_SHARING_BUFFER_EXCEEDED    36
  400.  
  401. //
  402. // MessageId: ERROR_HANDLE_EOF
  403. //
  404. // MessageText:
  405. //
  406. //  Reached end of file.
  407. //
  408. #define ERROR_HANDLE_EOF                 38
  409.  
  410. //
  411. // MessageId: ERROR_HANDLE_DISK_FULL
  412. //
  413. // MessageText:
  414. //
  415. //  The disk is full.
  416. //
  417. #define ERROR_HANDLE_DISK_FULL           39
  418.  
  419. //
  420. // MessageId: ERROR_NOT_SUPPORTED
  421. //
  422. // MessageText:
  423. //
  424. //  The network request is not supported.
  425. //
  426. #define ERROR_NOT_SUPPORTED              50
  427.  
  428. //
  429. // MessageId: ERROR_REM_NOT_LIST
  430. //
  431. // MessageText:
  432. //
  433. //  The remote computer is not available.
  434. //
  435. #define ERROR_REM_NOT_LIST               51
  436.  
  437. //
  438. // MessageId: ERROR_DUP_NAME
  439. //
  440. // MessageText:
  441. //
  442. //  A duplicate name exists on the network.
  443. //
  444. #define ERROR_DUP_NAME                   52
  445.  
  446. //
  447. // MessageId: ERROR_BAD_NETPATH
  448. //
  449. // MessageText:
  450. //
  451. //  The network path was not found.
  452. //
  453. #define ERROR_BAD_NETPATH                53
  454.  
  455. //
  456. // MessageId: ERROR_NETWORK_BUSY
  457. //
  458. // MessageText:
  459. //
  460. //  The network is busy.
  461. //
  462. #define ERROR_NETWORK_BUSY               54
  463.  
  464. //
  465. // MessageId: ERROR_DEV_NOT_EXIST
  466. //
  467. // MessageText:
  468. //
  469. //  The specified network resource or device is no longer
  470. //  available.
  471. //
  472. #define ERROR_DEV_NOT_EXIST              55    && dderror
  473.  
  474. //
  475. // MessageId: ERROR_TOO_MANY_CMDS
  476. //
  477. // MessageText:
  478. //
  479. //  The network BIOS command limit has been reached.
  480. //
  481. #define ERROR_TOO_MANY_CMDS              56
  482.  
  483. //
  484. // MessageId: ERROR_ADAP_HDW_ERR
  485. //
  486. // MessageText:
  487. //
  488. //  A network adapter hardware error occurred.
  489. //
  490. #define ERROR_ADAP_HDW_ERR               57
  491.  
  492. //
  493. // MessageId: ERROR_BAD_NET_RESP
  494. //
  495. // MessageText:
  496. //
  497. //  The specified server cannot perform the requested
  498. //  operation.
  499. //
  500. #define ERROR_BAD_NET_RESP               58
  501.  
  502. //
  503. // MessageId: ERROR_UNEXP_NET_ERR
  504. //
  505. // MessageText:
  506. //
  507. //  An unexpected network error occurred.
  508. //
  509. #define ERROR_UNEXP_NET_ERR              59
  510.  
  511. //
  512. // MessageId: ERROR_BAD_REM_ADAP
  513. //
  514. // MessageText:
  515. //
  516. //  The remote adapter is not compatible.
  517. //
  518. #define ERROR_BAD_REM_ADAP               60
  519.  
  520. //
  521. // MessageId: ERROR_PRINTQ_FULL
  522. //
  523. // MessageText:
  524. //
  525. //  The printer queue is full.
  526. //
  527. #define ERROR_PRINTQ_FULL                61
  528.  
  529. //
  530. // MessageId: ERROR_NO_SPOOL_SPACE
  531. //
  532. // MessageText:
  533. //
  534. //  Space to store the file waiting to be printed is
  535. //  not available on the server.
  536. //
  537. #define ERROR_NO_SPOOL_SPACE             62
  538.  
  539. //
  540. // MessageId: ERROR_PRINT_CANCELLED
  541. //
  542. // MessageText:
  543. //
  544. //  Your file waiting to be printed was deleted.
  545. //
  546. #define ERROR_PRINT_CANCELLED            63
  547.  
  548. //
  549. // MessageId: ERROR_NETNAME_DELETED
  550. //
  551. // MessageText:
  552. //
  553. //  The specified network name is no longer available.
  554. //
  555. #define ERROR_NETNAME_DELETED            64
  556.  
  557. //
  558. // MessageId: ERROR_NETWORK_ACCESS_DENIED
  559. //
  560. // MessageText:
  561. //
  562. //  Network access is denied.
  563. //
  564. #define ERROR_NETWORK_ACCESS_DENIED      65
  565.  
  566. //
  567. // MessageId: ERROR_BAD_DEV_TYPE
  568. //
  569. // MessageText:
  570. //
  571. //  The network resource type is not correct.
  572. //
  573. #define ERROR_BAD_DEV_TYPE               66
  574.  
  575. //
  576. // MessageId: ERROR_BAD_NET_NAME
  577. //
  578. // MessageText:
  579. //
  580. //  The network name cannot be found.
  581. //
  582. #define ERROR_BAD_NET_NAME               67
  583.  
  584. //
  585. // MessageId: ERROR_TOO_MANY_NAMES
  586. //
  587. // MessageText:
  588. //
  589. //  The name limit for the local computer network
  590. //  adapter card was exceeded.
  591. //
  592. #define ERROR_TOO_MANY_NAMES             68
  593.  
  594. //
  595. // MessageId: ERROR_TOO_MANY_SESS
  596. //
  597. // MessageText:
  598. //
  599. //  The network BIOS session limit was exceeded.
  600. //
  601. #define ERROR_TOO_MANY_SESS              69
  602.  
  603. //
  604. // MessageId: ERROR_SHARING_PAUSED
  605. //
  606. // MessageText:
  607. //
  608. //  The remote server has been paused or is in the
  609. //  process of being started.
  610. //
  611. #define ERROR_SHARING_PAUSED             70
  612.  
  613. //
  614. // MessageId: ERROR_REQ_NOT_ACCEP
  615. //
  616. // MessageText:
  617. //
  618. //  No more connections can be made to this remote computer at this time
  619. //  because there are already as many connections as the computer can accept.
  620. //
  621. #define ERROR_REQ_NOT_ACCEP              71
  622.  
  623. //
  624. // MessageId: ERROR_REDIR_PAUSED
  625. //
  626. // MessageText:
  627. //
  628. //  The specified printer or disk device has been paused.
  629. //
  630. #define ERROR_REDIR_PAUSED               72
  631.  
  632. //
  633. // MessageId: ERROR_FILE_EXISTS
  634. //
  635. // MessageText:
  636. //
  637. //  The file exists.
  638. //
  639. #define ERROR_FILE_EXISTS                80
  640.  
  641. //
  642. // MessageId: ERROR_CANNOT_MAKE
  643. //
  644. // MessageText:
  645. //
  646. //  The directory or file cannot be created.
  647. //
  648. #define ERROR_CANNOT_MAKE                82
  649.  
  650. //
  651. // MessageId: ERROR_FAIL_I24
  652. //
  653. // MessageText:
  654. //
  655. //  Fail on INT 24
  656. //
  657. #define ERROR_FAIL_I24                   83
  658.  
  659. //
  660. // MessageId: ERROR_OUT_OF_STRUCTURES
  661. //
  662. // MessageText:
  663. //
  664. //  Storage to process this request is not available.
  665. //
  666. #define ERROR_OUT_OF_STRUCTURES          84
  667.  
  668. //
  669. // MessageId: ERROR_ALREADY_ASSIGNED
  670. //
  671. // MessageText:
  672. //
  673. //  The local device name is already in use.
  674. //
  675. #define ERROR_ALREADY_ASSIGNED           85
  676.  
  677. //
  678. // MessageId: ERROR_INVALID_PASSWORD
  679. //
  680. // MessageText:
  681. //
  682. //  The specified network password is not correct.
  683. //
  684. #define ERROR_INVALID_PASSWORD           86
  685.  
  686. //
  687. // MessageId: ERROR_INVALID_PARAMETER
  688. //
  689. // MessageText:
  690. //
  691. //  The parameter is incorrect.
  692. //
  693. #define ERROR_INVALID_PARAMETER          87    && dderror
  694.  
  695. //
  696. // MessageId: ERROR_NET_WRITE_FAULT
  697. //
  698. // MessageText:
  699. //
  700. //  A write fault occurred on the network.
  701. //
  702. #define ERROR_NET_WRITE_FAULT            88
  703.  
  704. //
  705. // MessageId: ERROR_NO_PROC_SLOTS
  706. //
  707. // MessageText:
  708. //
  709. //  The system cannot start another process at
  710. //  this time.
  711. //
  712. #define ERROR_NO_PROC_SLOTS              89
  713.  
  714. //
  715. // MessageId: ERROR_TOO_MANY_SEMAPHORES
  716. //
  717. // MessageText:
  718. //
  719. //  Cannot create another system semaphore.
  720. //
  721. #define ERROR_TOO_MANY_SEMAPHORES        100
  722.  
  723. //
  724. // MessageId: ERROR_EXCL_SEM_ALREADY_OWNED
  725. //
  726. // MessageText:
  727. //
  728. //  The exclusive semaphore is owned by another process.
  729. //
  730. #define ERROR_EXCL_SEM_ALREADY_OWNED     101
  731.  
  732. //
  733. // MessageId: ERROR_SEM_IS_SET
  734. //
  735. // MessageText:
  736. //
  737. //  The semaphore is set and cannot be closed.
  738. //
  739. #define ERROR_SEM_IS_SET                 102
  740.  
  741. //
  742. // MessageId: ERROR_TOO_MANY_SEM_REQUESTS
  743. //
  744. // MessageText:
  745. //
  746. //  The semaphore cannot be set again.
  747. //
  748. #define ERROR_TOO_MANY_SEM_REQUESTS      103
  749.  
  750. //
  751. // MessageId: ERROR_INVALID_AT_INTERRUPT_TIME
  752. //
  753. // MessageText:
  754. //
  755. //  Cannot request exclusive semaphores at interrupt time.
  756. //
  757. #define ERROR_INVALID_AT_INTERRUPT_TIME  104
  758.  
  759. //
  760. // MessageId: ERROR_SEM_OWNER_DIED
  761. //
  762. // MessageText:
  763. //
  764. //  The previous ownership of this semaphore has ended.
  765. //
  766. #define ERROR_SEM_OWNER_DIED             105
  767.  
  768. //
  769. // MessageId: ERROR_SEM_USER_LIMIT
  770. //
  771. // MessageText:
  772. //
  773. //  Insert the diskette for drive %1.
  774. //
  775. #define ERROR_SEM_USER_LIMIT             106
  776.  
  777. //
  778. // MessageId: ERROR_DISK_CHANGE
  779. //
  780. // MessageText:
  781. //
  782. //  Program stopped because alternate diskette was not inserted.
  783. //
  784. #define ERROR_DISK_CHANGE                107
  785.  
  786. //
  787. // MessageId: ERROR_DRIVE_LOCKED
  788. //
  789. // MessageText:
  790. //
  791. //  The disk is in use or locked by
  792. //  another process.
  793. //
  794. #define ERROR_DRIVE_LOCKED               108
  795.  
  796. //
  797. // MessageId: ERROR_BROKEN_PIPE
  798. //
  799. // MessageText:
  800. //
  801. //  The pipe has been ended.
  802. //
  803. #define ERROR_BROKEN_PIPE                109
  804.  
  805. //
  806. // MessageId: ERROR_OPEN_FAILED
  807. //
  808. // MessageText:
  809. //
  810. //  The system cannot open the
  811. //  device or file specified.
  812. //
  813. #define ERROR_OPEN_FAILED                110
  814.  
  815. //
  816. // MessageId: ERROR_BUFFER_OVERFLOW
  817. //
  818. // MessageText:
  819. //
  820. //  The file name is too long.
  821. //
  822. #define ERROR_BUFFER_OVERFLOW            111
  823.  
  824. //
  825. // MessageId: ERROR_DISK_FULL
  826. //
  827. // MessageText:
  828. //
  829. //  There is not enough space on the disk.
  830. //
  831. #define ERROR_DISK_FULL                  112
  832.  
  833. //
  834. // MessageId: ERROR_NO_MORE_SEARCH_HANDLES
  835. //
  836. // MessageText:
  837. //
  838. //  No more internal file identifiers available.
  839. //
  840. #define ERROR_NO_MORE_SEARCH_HANDLES     113
  841.  
  842. //
  843. // MessageId: ERROR_INVALID_TARGET_HANDLE
  844. //
  845. // MessageText:
  846. //
  847. //  The target internal file identifier is incorrect.
  848. //
  849. #define ERROR_INVALID_TARGET_HANDLE      114
  850.  
  851. //
  852. // MessageId: ERROR_INVALID_CATEGORY
  853. //
  854. // MessageText:
  855. //
  856. //  The IOCTL call made by the application program is
  857. //  not correct.
  858. //
  859. #define ERROR_INVALID_CATEGORY           117
  860.  
  861. //
  862. // MessageId: ERROR_INVALID_VERIFY_SWITCH
  863. //
  864. // MessageText:
  865. //
  866. //  The verify-on-write switch parameter value is not
  867. //  correct.
  868. //
  869. #define ERROR_INVALID_VERIFY_SWITCH      118
  870.  
  871. //
  872. // MessageId: ERROR_BAD_DRIVER_LEVEL
  873. //
  874. // MessageText:
  875. //
  876. //  The system does not support the command requested.
  877. //
  878. #define ERROR_BAD_DRIVER_LEVEL           119
  879.  
  880. //
  881. // MessageId: ERROR_CALL_NOT_IMPLEMENTED
  882. //
  883. // MessageText:
  884. //
  885. //  This function is only valid in Win32 mode.
  886. //
  887. #define ERROR_CALL_NOT_IMPLEMENTED       120
  888.  
  889. //
  890. // MessageId: ERROR_SEM_TIMEOUT
  891. //
  892. // MessageText:
  893. //
  894. //  The semaphore timeout period has expired.
  895. //
  896. #define ERROR_SEM_TIMEOUT                121
  897.  
  898. //
  899. // MessageId: ERROR_INSUFFICIENT_BUFFER
  900. //
  901. // MessageText:
  902. //
  903. //  The data area passed to a system call is too
  904. //  small.
  905. //
  906. #define ERROR_INSUFFICIENT_BUFFER        122    && dderror
  907.  
  908. //
  909. // MessageId: ERROR_INVALID_NAME
  910. //
  911. // MessageText:
  912. //
  913. //  The filename, directory name, or volume label syntax is incorrect.
  914. //
  915. #define ERROR_INVALID_NAME               123
  916.  
  917. //
  918. // MessageId: ERROR_INVALID_LEVEL
  919. //
  920. // MessageText:
  921. //
  922. //  The system call level is not correct.
  923. //
  924. #define ERROR_INVALID_LEVEL              124
  925.  
  926. //
  927. // MessageId: ERROR_NO_VOLUME_LABEL
  928. //
  929. // MessageText:
  930. //
  931. //  The disk has no volume label.
  932. //
  933. #define ERROR_NO_VOLUME_LABEL            125
  934.  
  935. //
  936. // MessageId: ERROR_MOD_NOT_FOUND
  937. //
  938. // MessageText:
  939. //
  940. //  The specified module could not be found.
  941. //
  942. #define ERROR_MOD_NOT_FOUND              126
  943.  
  944. //
  945. // MessageId: ERROR_PROC_NOT_FOUND
  946. //
  947. // MessageText:
  948. //
  949. //  The specified procedure could not be found.
  950. //
  951. #define ERROR_PROC_NOT_FOUND             127
  952.  
  953. //
  954. // MessageId: ERROR_WAIT_NO_CHILDREN
  955. //
  956. // MessageText:
  957. //
  958. //  There are no child processes to wait for.
  959. //
  960. #define ERROR_WAIT_NO_CHILDREN           128
  961.  
  962. //
  963. // MessageId: ERROR_CHILD_NOT_COMPLETE
  964. //
  965. // MessageText:
  966. //
  967. //  The %1 application cannot be run in Win32 mode.
  968. //
  969. #define ERROR_CHILD_NOT_COMPLETE         129
  970.  
  971. //
  972. // MessageId: ERROR_DIRECT_ACCESS_HANDLE
  973. //
  974. // MessageText:
  975. //
  976. //  Attempt to use a file handle to an open disk partition for an
  977. //  operation other than raw disk I/O.
  978. //
  979. #define ERROR_DIRECT_ACCESS_HANDLE       130
  980.  
  981. //
  982. // MessageId: ERROR_NEGATIVE_SEEK
  983. //
  984. // MessageText:
  985. //
  986. //  An attempt was made to move the file pointer before the beginning of the file.
  987. //
  988. #define ERROR_NEGATIVE_SEEK              131
  989.  
  990. //
  991. // MessageId: ERROR_SEEK_ON_DEVICE
  992. //
  993. // MessageText:
  994. //
  995. //  The file pointer cannot be set on the specified device or file.
  996. //
  997. #define ERROR_SEEK_ON_DEVICE             132
  998.  
  999. //
  1000. // MessageId: ERROR_IS_JOIN_TARGET
  1001. //
  1002. // MessageText:
  1003. //
  1004. //  A JOIN or SUBST command
  1005. //  cannot be used for a drive that
  1006. //  contains previously joined drives.
  1007. //
  1008. #define ERROR_IS_JOIN_TARGET             133
  1009.  
  1010. //
  1011. // MessageId: ERROR_IS_JOINED
  1012. //
  1013. // MessageText:
  1014. //
  1015. //  An attempt was made to use a
  1016. //  JOIN or SUBST command on a drive that has
  1017. //  already been joined.
  1018. //
  1019. #define ERROR_IS_JOINED                  134
  1020.  
  1021. //
  1022. // MessageId: ERROR_IS_SUBSTED
  1023. //
  1024. // MessageText:
  1025. //
  1026. //  An attempt was made to use a
  1027. //  JOIN or SUBST command on a drive that has
  1028. //  already been substituted.
  1029. //
  1030. #define ERROR_IS_SUBSTED                 135
  1031.  
  1032. //
  1033. // MessageId: ERROR_NOT_JOINED
  1034. //
  1035. // MessageText:
  1036. //
  1037. //  The system tried to delete
  1038. //  the JOIN of a drive that is not joined.
  1039. //
  1040. #define ERROR_NOT_JOINED                 136
  1041.  
  1042. //
  1043. // MessageId: ERROR_NOT_SUBSTED
  1044. //
  1045. // MessageText:
  1046. //
  1047. //  The system tried to delete the
  1048. //  substitution of a drive that is not substituted.
  1049. //
  1050. #define ERROR_NOT_SUBSTED                137
  1051.  
  1052. //
  1053. // MessageId: ERROR_JOIN_TO_JOIN
  1054. //
  1055. // MessageText:
  1056. //
  1057. //  The system tried to join a drive
  1058. //  to a directory on a joined drive.
  1059. //
  1060. #define ERROR_JOIN_TO_JOIN               138
  1061.  
  1062. //
  1063. // MessageId: ERROR_SUBST_TO_SUBST
  1064. //
  1065. // MessageText:
  1066. //
  1067. //  The system tried to substitute a
  1068. //  drive to a directory on a substituted drive.
  1069. //
  1070. #define ERROR_SUBST_TO_SUBST             139
  1071.  
  1072. //
  1073. // MessageId: ERROR_JOIN_TO_SUBST
  1074. //
  1075. // MessageText:
  1076. //
  1077. //  The system tried to join a drive to
  1078. //  a directory on a substituted drive.
  1079. //
  1080. #define ERROR_JOIN_TO_SUBST              140
  1081.  
  1082. //
  1083. // MessageId: ERROR_SUBST_TO_JOIN
  1084. //
  1085. // MessageText:
  1086. //
  1087. //  The system tried to SUBST a drive
  1088. //  to a directory on a joined drive.
  1089. //
  1090. #define ERROR_SUBST_TO_JOIN              141
  1091.  
  1092. //
  1093. // MessageId: ERROR_BUSY_DRIVE
  1094. //
  1095. // MessageText:
  1096. //
  1097. //  The system cannot perform a JOIN or SUBST at this time.
  1098. //
  1099. #define ERROR_BUSY_DRIVE                 142
  1100.  
  1101. //
  1102. // MessageId: ERROR_SAME_DRIVE
  1103. //
  1104. // MessageText:
  1105. //
  1106. //  The system cannot join or substitute a
  1107. //  drive to or for a directory on the same drive.
  1108. //
  1109. #define ERROR_SAME_DRIVE                 143
  1110.  
  1111. //
  1112. // MessageId: ERROR_DIR_NOT_ROOT
  1113. //
  1114. // MessageText:
  1115. //
  1116. //  The directory is not a subdirectory of the root directory.
  1117. //
  1118. #define ERROR_DIR_NOT_ROOT               144
  1119.  
  1120. //
  1121. // MessageId: ERROR_DIR_NOT_EMPTY
  1122. //
  1123. // MessageText:
  1124. //
  1125. //  The directory is not empty.
  1126. //
  1127. #define ERROR_DIR_NOT_EMPTY              145
  1128.  
  1129. //
  1130. // MessageId: ERROR_IS_SUBST_PATH
  1131. //
  1132. // MessageText:
  1133. //
  1134. //  The path specified is being used in
  1135. //  a substitute.
  1136. //
  1137. #define ERROR_IS_SUBST_PATH              146
  1138.  
  1139. //
  1140. // MessageId: ERROR_IS_JOIN_PATH
  1141. //
  1142. // MessageText:
  1143. //
  1144. //  Not enough resources are available to
  1145. //  process this command.
  1146. //
  1147. #define ERROR_IS_JOIN_PATH               147
  1148.  
  1149. //
  1150. // MessageId: ERROR_PATH_BUSY
  1151. //
  1152. // MessageText:
  1153. //
  1154. //  The path specified cannot be used at this time.
  1155. //
  1156. #define ERROR_PATH_BUSY                  148
  1157.  
  1158. //
  1159. // MessageId: ERROR_IS_SUBST_TARGET
  1160. //
  1161. // MessageText:
  1162. //
  1163. //  An attempt was made to join
  1164. //  or substitute a drive for which a directory
  1165. //  on the drive is the target of a previous
  1166. //  substitute.
  1167. //
  1168. #define ERROR_IS_SUBST_TARGET            149
  1169.  
  1170. //
  1171. // MessageId: ERROR_SYSTEM_TRACE
  1172. //
  1173. // MessageText:
  1174. //
  1175. //  System trace information was not specified in your
  1176. //  CONFIG.SYS file, or tracing is disallowed.
  1177. //
  1178. #define ERROR_SYSTEM_TRACE               150
  1179.  
  1180. //
  1181. // MessageId: ERROR_INVALID_EVENT_COUNT
  1182. //
  1183. // MessageText:
  1184. //
  1185. //  The number of specified semaphore events for
  1186. //  DosMuxSemWait is not correct.
  1187. //
  1188. #define ERROR_INVALID_EVENT_COUNT        151
  1189.  
  1190. //
  1191. // MessageId: ERROR_TOO_MANY_MUXWAITERS
  1192. //
  1193. // MessageText:
  1194. //
  1195. //  DosMuxSemWait did not execute; too many semaphores
  1196. //  are already set.
  1197. //
  1198. #define ERROR_TOO_MANY_MUXWAITERS        152
  1199.  
  1200. //
  1201. // MessageId: ERROR_INVALID_LIST_FORMAT
  1202. //
  1203. // MessageText:
  1204. //
  1205. //  The DosMuxSemWait list is not correct.
  1206. //
  1207. #define ERROR_INVALID_LIST_FORMAT        153
  1208.  
  1209. //
  1210. // MessageId: ERROR_LABEL_TOO_LONG
  1211. //
  1212. // MessageText:
  1213. //
  1214. //  The volume label you entered exceeds the label character
  1215. //  limit of the target file system.
  1216. //
  1217. #define ERROR_LABEL_TOO_LONG             154
  1218.  
  1219. //
  1220. // MessageId: ERROR_TOO_MANY_TCBS
  1221. //
  1222. // MessageText:
  1223. //
  1224. //  Cannot create another thread.
  1225. //
  1226. #define ERROR_TOO_MANY_TCBS              155
  1227.  
  1228. //
  1229. // MessageId: ERROR_SIGNAL_REFUSED
  1230. //
  1231. // MessageText:
  1232. //
  1233. //  The recipient process has refused the signal.
  1234. //
  1235. #define ERROR_SIGNAL_REFUSED             156
  1236.  
  1237. //
  1238. // MessageId: ERROR_DISCARDED
  1239. //
  1240. // MessageText:
  1241. //
  1242. //  The segment is already discarded and cannot be locked.
  1243. //
  1244. #define ERROR_DISCARDED                  157
  1245.  
  1246. //
  1247. // MessageId: ERROR_NOT_LOCKED
  1248. //
  1249. // MessageText:
  1250. //
  1251. //  The segment is already unlocked.
  1252. //
  1253. #define ERROR_NOT_LOCKED                 158
  1254.  
  1255. //
  1256. // MessageId: ERROR_BAD_THREADID_ADDR
  1257. //
  1258. // MessageText:
  1259. //
  1260. //  The address for the thread ID is not correct.
  1261. //
  1262. #define ERROR_BAD_THREADID_ADDR          159
  1263.  
  1264. //
  1265. // MessageId: ERROR_BAD_ARGUMENTS
  1266. //
  1267. // MessageText:
  1268. //
  1269. //  The argument string passed to DosExecPgm is not correct.
  1270. //
  1271. #define ERROR_BAD_ARGUMENTS              160
  1272.  
  1273. //
  1274. // MessageId: ERROR_BAD_PATHNAME
  1275. //
  1276. // MessageText:
  1277. //
  1278. //  The specified path is invalid.
  1279. //
  1280. #define ERROR_BAD_PATHNAME               161
  1281.  
  1282. //
  1283. // MessageId: ERROR_SIGNAL_PENDING
  1284. //
  1285. // MessageText:
  1286. //
  1287. //  A signal is already pending.
  1288. //
  1289. #define ERROR_SIGNAL_PENDING             162
  1290.  
  1291. //
  1292. // MessageId: ERROR_MAX_THRDS_REACHED
  1293. //
  1294. // MessageText:
  1295. //
  1296. //  No more threads can be created in the system.
  1297. //
  1298. #define ERROR_MAX_THRDS_REACHED          164
  1299.  
  1300. //
  1301. // MessageId: ERROR_LOCK_FAILED
  1302. //
  1303. // MessageText:
  1304. //
  1305. //  Unable to lock a region of a file.
  1306. //
  1307. #define ERROR_LOCK_FAILED                167
  1308.  
  1309. //
  1310. // MessageId: ERROR_BUSY
  1311. //
  1312. // MessageText:
  1313. //
  1314. //  The requested resource is in use.
  1315. //
  1316. #define ERROR_BUSY                       170
  1317.  
  1318. //
  1319. // MessageId: ERROR_CANCEL_VIOLATION
  1320. //
  1321. // MessageText:
  1322. //
  1323. //  A lock request was not outstanding for the supplied cancel region.
  1324. //
  1325. #define ERROR_CANCEL_VIOLATION           173
  1326.  
  1327. //
  1328. // MessageId: ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
  1329. //
  1330. // MessageText:
  1331. //
  1332. //  The file system does not support atomic changes to the lock type.
  1333. //
  1334. #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174
  1335.  
  1336. //
  1337. // MessageId: ERROR_INVALID_SEGMENT_NUMBER
  1338. //
  1339. // MessageText:
  1340. //
  1341. //  The system detected a segment number that was not correct.
  1342. //
  1343. #define ERROR_INVALID_SEGMENT_NUMBER     180
  1344.  
  1345. //
  1346. // MessageId: ERROR_INVALID_ORDINAL
  1347. //
  1348. // MessageText:
  1349. //
  1350. //  The operating system cannot run %1.
  1351. //
  1352. #define ERROR_INVALID_ORDINAL            182
  1353.  
  1354. //
  1355. // MessageId: ERROR_ALREADY_EXISTS
  1356. //
  1357. // MessageText:
  1358. //
  1359. //  Cannot create a file when that file already exists.
  1360. //
  1361. #define ERROR_ALREADY_EXISTS             183
  1362.  
  1363. //
  1364. // MessageId: ERROR_INVALID_FLAG_NUMBER
  1365. //
  1366. // MessageText:
  1367. //
  1368. //  The flag passed is not correct.
  1369. //
  1370. #define ERROR_INVALID_FLAG_NUMBER        186
  1371.  
  1372. //
  1373. // MessageId: ERROR_SEM_NOT_FOUND
  1374. //
  1375. // MessageText:
  1376. //
  1377. //  The specified system semaphore name was not found.
  1378. //
  1379. #define ERROR_SEM_NOT_FOUND              187
  1380.  
  1381. //
  1382. // MessageId: ERROR_INVALID_STARTING_CODESEG
  1383. //
  1384. // MessageText:
  1385. //
  1386. //  The operating system cannot run %1.
  1387. //
  1388. #define ERROR_INVALID_STARTING_CODESEG   188
  1389.  
  1390. //
  1391. // MessageId: ERROR_INVALID_STACKSEG
  1392. //
  1393. // MessageText:
  1394. //
  1395. //  The operating system cannot run %1.
  1396. //
  1397. #define ERROR_INVALID_STACKSEG           189
  1398.  
  1399. //
  1400. // MessageId: ERROR_INVALID_MODULETYPE
  1401. //
  1402. // MessageText:
  1403. //
  1404. //  The operating system cannot run %1.
  1405. //
  1406. #define ERROR_INVALID_MODULETYPE         190
  1407.  
  1408. //
  1409. // MessageId: ERROR_INVALID_EXE_SIGNATURE
  1410. //
  1411. // MessageText:
  1412. //
  1413. //  Cannot run %1 in Win32 mode.
  1414. //
  1415. #define ERROR_INVALID_EXE_SIGNATURE      191
  1416.  
  1417. //
  1418. // MessageId: ERROR_EXE_MARKED_INVALID
  1419. //
  1420. // MessageText:
  1421. //
  1422. //  The operating system cannot run %1.
  1423. //
  1424. #define ERROR_EXE_MARKED_INVALID         192
  1425.  
  1426. //
  1427. // MessageId: ERROR_BAD_EXE_FORMAT
  1428. //
  1429. // MessageText:
  1430. //
  1431. //  %1 is not a valid Win32 application.
  1432. //
  1433. #define ERROR_BAD_EXE_FORMAT             193
  1434.  
  1435. //
  1436. // MessageId: ERROR_ITERATED_DATA_EXCEEDS_64k
  1437. //
  1438. // MessageText:
  1439. //
  1440. //  The operating system cannot run %1.
  1441. //
  1442. #define ERROR_ITERATED_DATA_EXCEEDS_64k  194
  1443.  
  1444. //
  1445. // MessageId: ERROR_INVALID_MINALLOCSIZE
  1446. //
  1447. // MessageText:
  1448. //
  1449. //  The operating system cannot run %1.
  1450. //
  1451. #define ERROR_INVALID_MINALLOCSIZE       195
  1452.  
  1453. //
  1454. // MessageId: ERROR_DYNLINK_FROM_INVALID_RING
  1455. //
  1456. // MessageText:
  1457. //
  1458. //  The operating system cannot run this
  1459. //  application program.
  1460. //
  1461. #define ERROR_DYNLINK_FROM_INVALID_RING  196
  1462.  
  1463. //
  1464. // MessageId: ERROR_IOPL_NOT_ENABLED
  1465. //
  1466. // MessageText:
  1467. //
  1468. //  The operating system is not presently
  1469. //  configured to run this application.
  1470. //
  1471. #define ERROR_IOPL_NOT_ENABLED           197
  1472.  
  1473. //
  1474. // MessageId: ERROR_INVALID_SEGDPL
  1475. //
  1476. // MessageText:
  1477. //
  1478. //  The operating system cannot run %1.
  1479. //
  1480. #define ERROR_INVALID_SEGDPL             198
  1481.  
  1482. //
  1483. // MessageId: ERROR_AUTODATASEG_EXCEEDS_64k
  1484. //
  1485. // MessageText:
  1486. //
  1487. //  The operating system cannot run this
  1488. //  application program.
  1489. //
  1490. #define ERROR_AUTODATASEG_EXCEEDS_64k    199
  1491.  
  1492. //
  1493. // MessageId: ERROR_RING2SEG_MUST_BE_MOVABLE
  1494. //
  1495. // MessageText:
  1496. //
  1497. //  The code segment cannot be greater than or equal to 64KB.
  1498. //
  1499. #define ERROR_RING2SEG_MUST_BE_MOVABLE   200
  1500.  
  1501. //
  1502. // MessageId: ERROR_RELOC_CHAIN_XEEDS_SEGLIM
  1503. //
  1504. // MessageText:
  1505. //
  1506. //  The operating system cannot run %1.
  1507. //
  1508. #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM   201
  1509.  
  1510. //
  1511. // MessageId: ERROR_INFLOOP_IN_RELOC_CHAIN
  1512. //
  1513. // MessageText:
  1514. //
  1515. //  The operating system cannot run %1.
  1516. //
  1517. #define ERROR_INFLOOP_IN_RELOC_CHAIN     202
  1518.  
  1519. //
  1520. // MessageId: ERROR_ENVVAR_NOT_FOUND
  1521. //
  1522. // MessageText:
  1523. //
  1524. //  The system could not find the environment
  1525. //  option that was entered.
  1526. //
  1527. #define ERROR_ENVVAR_NOT_FOUND           203
  1528.  
  1529. //
  1530. // MessageId: ERROR_NO_SIGNAL_SENT
  1531. //
  1532. // MessageText:
  1533. //
  1534. //  No process in the command subtree has a
  1535. //  signal handler.
  1536. //
  1537. #define ERROR_NO_SIGNAL_SENT             205
  1538.  
  1539. //
  1540. // MessageId: ERROR_FILENAME_EXCED_RANGE
  1541. //
  1542. // MessageText:
  1543. //
  1544. //  The filename or extension is too long.
  1545. //
  1546. #define ERROR_FILENAME_EXCED_RANGE       206
  1547.  
  1548. //
  1549. // MessageId: ERROR_RING2_STACK_IN_USE
  1550. //
  1551. // MessageText:
  1552. //
  1553. //  The ring 2 stack is in use.
  1554. //
  1555. #define ERROR_RING2_STACK_IN_USE         207
  1556.  
  1557. //
  1558. // MessageId: ERROR_META_EXPANSION_TOO_LONG
  1559. //
  1560. // MessageText:
  1561. //
  1562. //  The global filename characters, // or ?, are entered
  1563. //  incorrectly or too many global filename characters are specified.
  1564. //
  1565. #define ERROR_META_EXPANSION_TOO_LONG    208
  1566.  
  1567. //
  1568. // MessageId: ERROR_INVALID_SIGNAL_NUMBER
  1569. //
  1570. // MessageText:
  1571. //
  1572. //  The signal being posted is not correct.
  1573. //
  1574. #define ERROR_INVALID_SIGNAL_NUMBER      209
  1575.  
  1576. //
  1577. // MessageId: ERROR_THREAD_1_INACTIVE
  1578. //
  1579. // MessageText:
  1580. //
  1581. //  The signal handler cannot be set.
  1582. //
  1583. #define ERROR_THREAD_1_INACTIVE          210
  1584.  
  1585. //
  1586. // MessageId: ERROR_LOCKED
  1587. //
  1588. // MessageText:
  1589. //
  1590. //  The segment is locked and cannot be reallocated.
  1591. //
  1592. #define ERROR_LOCKED                     212
  1593.  
  1594. //
  1595. // MessageId: ERROR_TOO_MANY_MODULES
  1596. //
  1597. // MessageText:
  1598. //
  1599. //  Too many dynamic link modules are attached to this
  1600. //  program or dynamic link module.
  1601. //
  1602. #define ERROR_TOO_MANY_MODULES           214
  1603.  
  1604. //
  1605. // MessageId: ERROR_NESTING_NOT_ALLOWED
  1606. //
  1607. // MessageText:
  1608. //
  1609. //  Can't nest calls to LoadModule.
  1610. //
  1611. #define ERROR_NESTING_NOT_ALLOWED        215
  1612.  
  1613. //
  1614. // MessageId: ERROR_BAD_PIPE
  1615. //
  1616. // MessageText:
  1617. //
  1618. //  The pipe state is invalid.
  1619. //
  1620. #define ERROR_BAD_PIPE                   230
  1621.  
  1622. //
  1623. // MessageId: ERROR_PIPE_BUSY
  1624. //
  1625. // MessageText:
  1626. //
  1627. //  All pipe instances are busy.
  1628. //
  1629. #define ERROR_PIPE_BUSY                  231
  1630.  
  1631. //
  1632. // MessageId: ERROR_NO_DATA
  1633. //
  1634. // MessageText:
  1635. //
  1636. //  The pipe is being closed.
  1637. //
  1638. #define ERROR_NO_DATA                    232
  1639.  
  1640. //
  1641. // MessageId: ERROR_PIPE_NOT_CONNECTED
  1642. //
  1643. // MessageText:
  1644. //
  1645. //  No process is on the other end of the pipe.
  1646. //
  1647. #define ERROR_PIPE_NOT_CONNECTED         233
  1648.  
  1649. //
  1650. // MessageId: ERROR_MORE_DATA
  1651. //
  1652. // MessageText:
  1653. //
  1654. //  More data is available.
  1655. //
  1656. #define ERROR_MORE_DATA                  234    && dderror
  1657.  
  1658. //
  1659. // MessageId: ERROR_VC_DISCONNECTED
  1660. //
  1661. // MessageText:
  1662. //
  1663. //  The session was cancelled.
  1664. //
  1665. #define ERROR_VC_DISCONNECTED            240
  1666.  
  1667. //
  1668. // MessageId: ERROR_INVALID_EA_NAME
  1669. //
  1670. // MessageText:
  1671. //
  1672. //  The specified extended attribute name was invalid.
  1673. //
  1674. #define ERROR_INVALID_EA_NAME            254
  1675.  
  1676. //
  1677. // MessageId: ERROR_EA_LIST_INCONSISTENT
  1678. //
  1679. // MessageText:
  1680. //
  1681. //  The extended attributes are inconsistent.
  1682. //
  1683. #define ERROR_EA_LIST_INCONSISTENT       255
  1684.  
  1685. //
  1686. // MessageId: ERROR_NO_MORE_ITEMS
  1687. //
  1688. // MessageText:
  1689. //
  1690. //  No more data is available.
  1691. //
  1692. #define ERROR_NO_MORE_ITEMS              259
  1693.  
  1694. //
  1695. // MessageId: ERROR_CANNOT_COPY
  1696. //
  1697. // MessageText:
  1698. //
  1699. //  The Copy API cannot be used.
  1700. //
  1701. #define ERROR_CANNOT_COPY                266
  1702.  
  1703. //
  1704. // MessageId: ERROR_DIRECTORY
  1705. //
  1706. // MessageText:
  1707. //
  1708. //  The directory name is invalid.
  1709. //
  1710. #define ERROR_DIRECTORY                  267
  1711.  
  1712. //
  1713. // MessageId: ERROR_EAS_DIDNT_FIT
  1714. //
  1715. // MessageText:
  1716. //
  1717. //  The extended attributes did not fit in the buffer.
  1718. //
  1719. #define ERROR_EAS_DIDNT_FIT              275
  1720.  
  1721. //
  1722. // MessageId: ERROR_EA_FILE_CORRUPT
  1723. //
  1724. // MessageText:
  1725. //
  1726. //  The extended attribute file on the mounted file system is corrupt.
  1727. //
  1728. #define ERROR_EA_FILE_CORRUPT            276
  1729.  
  1730. //
  1731. // MessageId: ERROR_EA_TABLE_FULL
  1732. //
  1733. // MessageText:
  1734. //
  1735. //  The extended attribute table file is full.
  1736. //
  1737. #define ERROR_EA_TABLE_FULL              277
  1738.  
  1739. //
  1740. // MessageId: ERROR_INVALID_EA_HANDLE
  1741. //
  1742. // MessageText:
  1743. //
  1744. //  The specified extended attribute handle is invalid.
  1745. //
  1746. #define ERROR_INVALID_EA_HANDLE          278
  1747.  
  1748. //
  1749. // MessageId: ERROR_EAS_NOT_SUPPORTED
  1750. //
  1751. // MessageText:
  1752. //
  1753. //  The mounted file system does not support extended attributes.
  1754. //
  1755. #define ERROR_EAS_NOT_SUPPORTED          282
  1756.  
  1757. //
  1758. // MessageId: ERROR_NOT_OWNER
  1759. //
  1760. // MessageText:
  1761. //
  1762. //  Attempt to release mutex not owned by caller.
  1763. //
  1764. #define ERROR_NOT_OWNER                  288
  1765.  
  1766. //
  1767. // MessageId: ERROR_TOO_MANY_POSTS
  1768. //
  1769. // MessageText:
  1770. //
  1771. //  Too many posts were made to a semaphore.
  1772. //
  1773. #define ERROR_TOO_MANY_POSTS             298
  1774.  
  1775. //
  1776. // MessageId: ERROR_PARTIAL_COPY
  1777. //
  1778. // MessageText:
  1779. //
  1780. //  Only part of a Read/WriteProcessMemory request was completed.
  1781. //
  1782. #define ERROR_PARTIAL_COPY               299
  1783.  
  1784. //
  1785. // MessageId: ERROR_MR_MID_NOT_FOUND
  1786. //
  1787. // MessageText:
  1788. //
  1789. //  The system cannot find message for message number 0x%1
  1790. //  in message file for %2.
  1791. //
  1792. #define ERROR_MR_MID_NOT_FOUND           317
  1793.  
  1794. //
  1795. // MessageId: ERROR_INVALID_ADDRESS
  1796. //
  1797. // MessageText:
  1798. //
  1799. //  Attempt to access invalid address.
  1800. //
  1801. #define ERROR_INVALID_ADDRESS            487
  1802.  
  1803. //
  1804. // MessageId: ERROR_ARITHMETIC_OVERFLOW
  1805. //
  1806. // MessageText:
  1807. //
  1808. //  Arithmetic result exceeded 32 bits.
  1809. //
  1810. #define ERROR_ARITHMETIC_OVERFLOW        534
  1811.  
  1812. //
  1813. // MessageId: ERROR_PIPE_CONNECTED
  1814. //
  1815. // MessageText:
  1816. //
  1817. //  There is a process on other end of the pipe.
  1818. //
  1819. #define ERROR_PIPE_CONNECTED             535
  1820.  
  1821. //
  1822. // MessageId: ERROR_PIPE_LISTENING
  1823. //
  1824. // MessageText:
  1825. //
  1826. //  Waiting for a process to open the other end of the pipe.
  1827. //
  1828. #define ERROR_PIPE_LISTENING             536
  1829.  
  1830. //
  1831. // MessageId: ERROR_EA_ACCESS_DENIED
  1832. //
  1833. // MessageText:
  1834. //
  1835. //  Access to the extended attribute was denied.
  1836. //
  1837. #define ERROR_EA_ACCESS_DENIED           994
  1838.  
  1839. //
  1840. // MessageId: ERROR_OPERATION_ABORTED
  1841. //
  1842. // MessageText:
  1843. //
  1844. //  The I/O operation has been aborted because of either a thread exit
  1845. //  or an application request.
  1846. //
  1847. #define ERROR_OPERATION_ABORTED          995
  1848.  
  1849. //
  1850. // MessageId: ERROR_IO_INCOMPLETE
  1851. //
  1852. // MessageText:
  1853. //
  1854. //  Overlapped I/O event is not in a signalled state.
  1855. //
  1856. #define ERROR_IO_INCOMPLETE              996
  1857.  
  1858. //
  1859. // MessageId: ERROR_IO_PENDING
  1860. //
  1861. // MessageText:
  1862. //
  1863. //  Overlapped I/O operation is in progress.
  1864. //
  1865. #define ERROR_IO_PENDING                 997    && dderror
  1866.  
  1867. //
  1868. // MessageId: ERROR_NOACCESS
  1869. //
  1870. // MessageText:
  1871. //
  1872. //  Invalid access to memory location.
  1873. //
  1874. #define ERROR_NOACCESS                   998
  1875.  
  1876. //
  1877. // MessageId: ERROR_SWAPERROR
  1878. //
  1879. // MessageText:
  1880. //
  1881. //  Error performing inpage operation.
  1882. //
  1883. #define ERROR_SWAPERROR                  999
  1884.  
  1885. //
  1886. // MessageId: ERROR_STACK_OVERFLOW
  1887. //
  1888. // MessageText:
  1889. //
  1890. //  Recursion too deep, stack overflowed.
  1891. //
  1892. #define ERROR_STACK_OVERFLOW             1001
  1893.  
  1894. //
  1895. // MessageId: ERROR_INVALID_MESSAGE
  1896. //
  1897. // MessageText:
  1898. //
  1899. //  The window cannot act on the sent message.
  1900. //
  1901. #define ERROR_INVALID_MESSAGE            1002
  1902.  
  1903. //
  1904. // MessageId: ERROR_CAN_NOT_COMPLETE
  1905. //
  1906. // MessageText:
  1907. //
  1908. //  Cannot complete this function.
  1909. //
  1910. #define ERROR_CAN_NOT_COMPLETE           1003
  1911.  
  1912. //
  1913. // MessageId: ERROR_INVALID_FLAGS
  1914. //
  1915. // MessageText:
  1916. //
  1917. //  Invalid flags.
  1918. //
  1919. #define ERROR_INVALID_FLAGS              1004
  1920.  
  1921. //
  1922. // MessageId: ERROR_UNRECOGNIZED_VOLUME
  1923. //
  1924. // MessageText:
  1925. //
  1926. //  The volume does not contain a recognized file system.
  1927. //  Please make sure that all required file system drivers are loaded and that the
  1928. //  volume is not corrupt.
  1929. //
  1930. #define ERROR_UNRECOGNIZED_VOLUME        1005
  1931.  
  1932. //
  1933. // MessageId: ERROR_FILE_INVALID
  1934. //
  1935. // MessageText:
  1936. //
  1937. //  The volume for a file has been externally altered such that the
  1938. //  opened file is no longer valid.
  1939. //
  1940. #define ERROR_FILE_INVALID               1006
  1941.  
  1942. //
  1943. // MessageId: ERROR_FULLSCREEN_MODE
  1944. //
  1945. // MessageText:
  1946. //
  1947. //  The requested operation cannot be performed in full-screen mode.
  1948. //
  1949. #define ERROR_FULLSCREEN_MODE            1007
  1950.  
  1951. //
  1952. // MessageId: ERROR_NO_TOKEN
  1953. //
  1954. // MessageText:
  1955. //
  1956. //  An attempt was made to reference a token that does not exist.
  1957. //
  1958. #define ERROR_NO_TOKEN                   1008
  1959.  
  1960. //
  1961. // MessageId: ERROR_BADDB
  1962. //
  1963. // MessageText:
  1964. //
  1965. //  The configuration registry database is corrupt.
  1966. //
  1967. #define ERROR_BADDB                      1009
  1968.  
  1969. //
  1970. // MessageId: ERROR_BADKEY
  1971. //
  1972. // MessageText:
  1973. //
  1974. //  The configuration registry key is invalid.
  1975. //
  1976. #define ERROR_BADKEY                     1010
  1977.  
  1978. //
  1979. // MessageId: ERROR_CANTOPEN
  1980. //
  1981. // MessageText:
  1982. //
  1983. //  The configuration registry key could not be opened.
  1984. //
  1985. #define ERROR_CANTOPEN                   1011
  1986.  
  1987. //
  1988. // MessageId: ERROR_CANTREAD
  1989. //
  1990. // MessageText:
  1991. //
  1992. //  The configuration registry key could not be read.
  1993. //
  1994. #define ERROR_CANTREAD                   1012
  1995.  
  1996. //
  1997. // MessageId: ERROR_CANTWRITE
  1998. //
  1999. // MessageText:
  2000. //
  2001. //  The configuration registry key could not be written.
  2002. //
  2003. #define ERROR_CANTWRITE                  1013
  2004.  
  2005. //
  2006. // MessageId: ERROR_REGISTRY_RECOVERED
  2007. //
  2008. // MessageText:
  2009. //
  2010. //  One of the files in the Registry database had to be recovered
  2011. //  by use of a log or alternate copy.  The recovery was successful.
  2012. //
  2013. #define ERROR_REGISTRY_RECOVERED         1014
  2014.  
  2015. //
  2016. // MessageId: ERROR_REGISTRY_CORRUPT
  2017. //
  2018. // MessageText:
  2019. //
  2020. //  The Registry is corrupt. The structure of one of the files that contains
  2021. //  Registry data is corrupt, or the system's image of the file in memory
  2022. //  is corrupt, or the file could not be recovered because the alternate
  2023. //  copy or log was absent or corrupt.
  2024. //
  2025. #define ERROR_REGISTRY_CORRUPT           1015
  2026.  
  2027. //
  2028. // MessageId: ERROR_REGISTRY_IO_FAILED
  2029. //
  2030. // MessageText:
  2031. //
  2032. //  An I/O operation initiated by the Registry failed unrecoverably.
  2033. //  The Registry could not read in, or write out, or flush, one of the files
  2034. //  that contain the system's image of the Registry.
  2035. //
  2036. #define ERROR_REGISTRY_IO_FAILED         1016
  2037.  
  2038. //
  2039. // MessageId: ERROR_NOT_REGISTRY_FILE
  2040. //
  2041. // MessageText:
  2042. //
  2043. //  The system has attempted to load or restore a file into the Registry, but the
  2044. //  specified file is not in a Registry file format.
  2045. //
  2046. #define ERROR_NOT_REGISTRY_FILE          1017
  2047.  
  2048. //
  2049. // MessageId: ERROR_KEY_DELETED
  2050. //
  2051. // MessageText:
  2052. //
  2053. //  Illegal operation attempted on a Registry key which has been marked for deletion.
  2054. //
  2055. #define ERROR_KEY_DELETED                1018
  2056.  
  2057. //
  2058. // MessageId: ERROR_NO_LOG_SPACE
  2059. //
  2060. // MessageText:
  2061. //
  2062. //  System could not allocate the required space in a Registry log.
  2063. //
  2064. #define ERROR_NO_LOG_SPACE               1019
  2065.  
  2066. //
  2067. // MessageId: ERROR_KEY_HAS_CHILDREN
  2068. //
  2069. // MessageText:
  2070. //
  2071. //  Cannot create a symbolic link in a Registry key that already
  2072. //  has subkeys or values.
  2073. //
  2074. #define ERROR_KEY_HAS_CHILDREN           1020
  2075.  
  2076. //
  2077. // MessageId: ERROR_CHILD_MUST_BE_VOLATILE
  2078. //
  2079. // MessageText:
  2080. //
  2081. //  Cannot create a stable subkey under a volatile parent key.
  2082. //
  2083. #define ERROR_CHILD_MUST_BE_VOLATILE     1021
  2084.  
  2085. //
  2086. // MessageId: ERROR_NOTIFY_ENUM_DIR
  2087. //
  2088. // MessageText:
  2089. //
  2090. //  A notify change request is being completed and the information
  2091. //  is not being returned in the caller's buffer. The caller now
  2092. //  needs to enumerate the files to find the changes.
  2093. //
  2094. #define ERROR_NOTIFY_ENUM_DIR            1022
  2095.  
  2096. //
  2097. // MessageId: ERROR_DEPENDENT_SERVICES_RUNNING
  2098. //
  2099. // MessageText:
  2100. //
  2101. //  A stop control has been sent to a service which other running services
  2102. //  are dependent on.
  2103. //
  2104. #define ERROR_DEPENDENT_SERVICES_RUNNING 1051
  2105.  
  2106. //
  2107. // MessageId: ERROR_INVALID_SERVICE_CONTROL
  2108. //
  2109. // MessageText:
  2110. //
  2111. //  The requested control is not valid for this service
  2112. //
  2113. #define ERROR_INVALID_SERVICE_CONTROL    1052
  2114.  
  2115. //
  2116. // MessageId: ERROR_SERVICE_REQUEST_TIMEOUT
  2117. //
  2118. // MessageText:
  2119. //
  2120. //  The service did not respond to the start or control request in a timely
  2121. //  fashion.
  2122. //
  2123. #define ERROR_SERVICE_REQUEST_TIMEOUT    1053
  2124.  
  2125. //
  2126. // MessageId: ERROR_SERVICE_NO_THREAD
  2127. //
  2128. // MessageText:
  2129. //
  2130. //  A thread could not be created for the service.
  2131. //
  2132. #define ERROR_SERVICE_NO_THREAD          1054
  2133.  
  2134. //
  2135. // MessageId: ERROR_SERVICE_DATABASE_LOCKED
  2136. //
  2137. // MessageText:
  2138. //
  2139. //  The service database is locked.
  2140. //
  2141. #define ERROR_SERVICE_DATABASE_LOCKED    1055
  2142.  
  2143. //
  2144. // MessageId: ERROR_SERVICE_ALREADY_RUNNING
  2145. //
  2146. // MessageText:
  2147. //
  2148. //  An instance of the service is already running.
  2149. //
  2150. #define ERROR_SERVICE_ALREADY_RUNNING    1056
  2151.  
  2152. //
  2153. // MessageId: ERROR_INVALID_SERVICE_ACCOUNT
  2154. //
  2155. // MessageText:
  2156. //
  2157. //  The account name is invalid or does not exist.
  2158. //
  2159. #define ERROR_INVALID_SERVICE_ACCOUNT    1057
  2160.  
  2161. //
  2162. // MessageId: ERROR_SERVICE_DISABLED
  2163. //
  2164. // MessageText:
  2165. //
  2166. //  The specified service is disabled and cannot be started.
  2167. //
  2168. #define ERROR_SERVICE_DISABLED           1058
  2169.  
  2170. //
  2171. // MessageId: ERROR_CIRCULAR_DEPENDENCY
  2172. //
  2173. // MessageText:
  2174. //
  2175. //  Circular service dependency was specified.
  2176. //
  2177. #define ERROR_CIRCULAR_DEPENDENCY        1059
  2178.  
  2179. //
  2180. // MessageId: ERROR_SERVICE_DOES_NOT_EXIST
  2181. //
  2182. // MessageText:
  2183. //
  2184. //  The specified service does not exist as an installed service.
  2185. //
  2186. #define ERROR_SERVICE_DOES_NOT_EXIST     1060
  2187.  
  2188. //
  2189. // MessageId: ERROR_SERVICE_CANNOT_ACCEPT_CTRL
  2190. //
  2191. // MessageText:
  2192. //
  2193. //  The service cannot accept control messages at this time.
  2194. //
  2195. #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061
  2196.  
  2197. //
  2198. // MessageId: ERROR_SERVICE_NOT_ACTIVE
  2199. //
  2200. // MessageText:
  2201. //
  2202. //  The service has not been started.
  2203. //
  2204. #define ERROR_SERVICE_NOT_ACTIVE         1062
  2205.  
  2206. //
  2207. // MessageId: ERROR_FAILED_SERVICE_CONTROLLER_CONNECT
  2208. //
  2209. // MessageText:
  2210. //
  2211. //  The service process could not connect to the service controller.
  2212. //
  2213. #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063
  2214.  
  2215. //
  2216. // MessageId: ERROR_EXCEPTION_IN_SERVICE
  2217. //
  2218. // MessageText:
  2219. //
  2220. //  An exception occurred in the service when handling the control request.
  2221. //
  2222. #define ERROR_EXCEPTION_IN_SERVICE       1064
  2223.  
  2224. //
  2225. // MessageId: ERROR_DATABASE_DOES_NOT_EXIST
  2226. //
  2227. // MessageText:
  2228. //
  2229. //  The database specified does not exist.
  2230. //
  2231. #define ERROR_DATABASE_DOES_NOT_EXIST    1065
  2232.  
  2233. //
  2234. // MessageId: ERROR_SERVICE_SPECIFIC_ERROR
  2235. //
  2236. // MessageText:
  2237. //
  2238. //  The service has returned a service-specific error code.
  2239. //
  2240. #define ERROR_SERVICE_SPECIFIC_ERROR     1066
  2241.  
  2242. //
  2243. // MessageId: ERROR_PROCESS_ABORTED
  2244. //
  2245. // MessageText:
  2246. //
  2247. //  The process terminated unexpectedly.
  2248. //
  2249. #define ERROR_PROCESS_ABORTED            1067
  2250.  
  2251. //
  2252. // MessageId: ERROR_SERVICE_DEPENDENCY_FAIL
  2253. //
  2254. // MessageText:
  2255. //
  2256. //  The dependency service or group failed to start.
  2257. //
  2258. #define ERROR_SERVICE_DEPENDENCY_FAIL    1068
  2259.  
  2260. //
  2261. // MessageId: ERROR_SERVICE_LOGON_FAILED
  2262. //
  2263. // MessageText:
  2264. //
  2265. //  The service did not start due to a logon failure.
  2266. //
  2267. #define ERROR_SERVICE_LOGON_FAILED       1069
  2268.  
  2269. //
  2270. // MessageId: ERROR_SERVICE_START_HANG
  2271. //
  2272. // MessageText:
  2273. //
  2274. //  After starting, the service hung in a start-pending state.
  2275. //
  2276. #define ERROR_SERVICE_START_HANG         1070
  2277.  
  2278. //
  2279. // MessageId: ERROR_INVALID_SERVICE_LOCK
  2280. //
  2281. // MessageText:
  2282. //
  2283. //  The specified service database lock is invalid.
  2284. //
  2285. #define ERROR_INVALID_SERVICE_LOCK       1071
  2286.  
  2287. //
  2288. // MessageId: ERROR_SERVICE_MARKED_FOR_DELETE
  2289. //
  2290. // MessageText:
  2291. //
  2292. //  The specified service has been marked for deletion.
  2293. //
  2294. #define ERROR_SERVICE_MARKED_FOR_DELETE  1072
  2295.  
  2296. //
  2297. // MessageId: ERROR_SERVICE_EXISTS
  2298. //
  2299. // MessageText:
  2300. //
  2301. //  The specified service already exists.
  2302. //
  2303. #define ERROR_SERVICE_EXISTS             1073
  2304.  
  2305. //
  2306. // MessageId: ERROR_ALREADY_RUNNING_LKG
  2307. //
  2308. // MessageText:
  2309. //
  2310. //  The system is currently running with the last-known-good configuration.
  2311. //
  2312. #define ERROR_ALREADY_RUNNING_LKG        1074
  2313.  
  2314. //
  2315. // MessageId: ERROR_SERVICE_DEPENDENCY_DELETED
  2316. //
  2317. // MessageText:
  2318. //
  2319. //  The dependency service does not exist or has been marked for
  2320. //  deletion.
  2321. //
  2322. #define ERROR_SERVICE_DEPENDENCY_DELETED 1075
  2323.  
  2324. //
  2325. // MessageId: ERROR_BOOT_ALREADY_ACCEPTED
  2326. //
  2327. // MessageText:
  2328. //
  2329. //  The current boot has already been accepted for use as the
  2330. //  last-known-good control set.
  2331. //
  2332. #define ERROR_BOOT_ALREADY_ACCEPTED      1076
  2333.  
  2334. //
  2335. // MessageId: ERROR_SERVICE_NEVER_STARTED
  2336. //
  2337. // MessageText:
  2338. //
  2339. //  No attempts to start the service have been made since the last boot.
  2340. //
  2341. #define ERROR_SERVICE_NEVER_STARTED      1077
  2342.  
  2343. //
  2344. // MessageId: ERROR_DUPLICATE_SERVICE_NAME
  2345. //
  2346. // MessageText:
  2347. //
  2348. //  The name is already in use as either a service name or a service display
  2349. //  name.
  2350. //
  2351. #define ERROR_DUPLICATE_SERVICE_NAME     1078
  2352.  
  2353. //
  2354. // MessageId: ERROR_END_OF_MEDIA
  2355. //
  2356. // MessageText:
  2357. //
  2358. //  The physical end of the tape has been reached.
  2359. //
  2360. #define ERROR_END_OF_MEDIA               1100
  2361.  
  2362. //
  2363. // MessageId: ERROR_FILEMARK_DETECTED
  2364. //
  2365. // MessageText:
  2366. //
  2367. //  A tape access reached a filemark.
  2368. //
  2369. #define ERROR_FILEMARK_DETECTED          1101
  2370.  
  2371. //
  2372. // MessageId: ERROR_BEGINNING_OF_MEDIA
  2373. //
  2374. // MessageText:
  2375. //
  2376. //  Beginning of tape or partition was encountered.
  2377. //
  2378. #define ERROR_BEGINNING_OF_MEDIA         1102
  2379.  
  2380. //
  2381. // MessageId: ERROR_SETMARK_DETECTED
  2382. //
  2383. // MessageText:
  2384. //
  2385. //  A tape access reached the end of a set of files.
  2386. //
  2387. #define ERROR_SETMARK_DETECTED           1103
  2388.  
  2389. //
  2390. // MessageId: ERROR_NO_DATA_DETECTED
  2391. //
  2392. // MessageText:
  2393. //
  2394. //  No more data is on the tape.
  2395. //
  2396. #define ERROR_NO_DATA_DETECTED           1104
  2397.  
  2398. //
  2399. // MessageId: ERROR_PARTITION_FAILURE
  2400. //
  2401. // MessageText:
  2402. //
  2403. //  Tape could not be partitioned.
  2404. //
  2405. #define ERROR_PARTITION_FAILURE          1105
  2406.  
  2407. //
  2408. // MessageId: ERROR_INVALID_BLOCK_LENGTH
  2409. //
  2410. // MessageText:
  2411. //
  2412. //  When accessing a new tape of a multivolume partition, the current
  2413. //  blocksize is incorrect.
  2414. //
  2415. #define ERROR_INVALID_BLOCK_LENGTH       1106
  2416.  
  2417. //
  2418. // MessageId: ERROR_DEVICE_NOT_PARTITIONED
  2419. //
  2420. // MessageText:
  2421. //
  2422. //  Tape partition information could not be found when loading a tape.
  2423. //
  2424. #define ERROR_DEVICE_NOT_PARTITIONED     1107
  2425.  
  2426. //
  2427. // MessageId: ERROR_UNABLE_TO_LOCK_MEDIA
  2428. //
  2429. // MessageText:
  2430. //
  2431. //  Unable to lock the media eject mechanism.
  2432. //
  2433. #define ERROR_UNABLE_TO_LOCK_MEDIA       1108
  2434.  
  2435. //
  2436. // MessageId: ERROR_UNABLE_TO_UNLOAD_MEDIA
  2437. //
  2438. // MessageText:
  2439. //
  2440. //  Unable to unload the media.
  2441. //
  2442. #define ERROR_UNABLE_TO_UNLOAD_MEDIA     1109
  2443.  
  2444. //
  2445. // MessageId: ERROR_MEDIA_CHANGED
  2446. //
  2447. // MessageText:
  2448. //
  2449. //  Media in drive may have changed.
  2450. //
  2451. #define ERROR_MEDIA_CHANGED              1110
  2452.  
  2453. //
  2454. // MessageId: ERROR_BUS_RESET
  2455. //
  2456. // MessageText:
  2457. //
  2458. //  The I/O bus was reset.
  2459. //
  2460. #define ERROR_BUS_RESET                  1111
  2461.  
  2462. //
  2463. // MessageId: ERROR_NO_MEDIA_IN_DRIVE
  2464. //
  2465. // MessageText:
  2466. //
  2467. //  No media in drive.
  2468. //
  2469. #define ERROR_NO_MEDIA_IN_DRIVE          1112
  2470.  
  2471. //
  2472. // MessageId: ERROR_NO_UNICODE_TRANSLATION
  2473. //
  2474. // MessageText:
  2475. //
  2476. //  No mapping for the Unicode character exists in the target multi-byte code page.
  2477. //
  2478. #define ERROR_NO_UNICODE_TRANSLATION     1113
  2479.  
  2480. //
  2481. // MessageId: ERROR_DLL_INIT_FAILED
  2482. //
  2483. // MessageText:
  2484. //
  2485. //  A dynamic link library (DLL) initialization routine failed.
  2486. //
  2487. #define ERROR_DLL_INIT_FAILED            1114
  2488.  
  2489. //
  2490. // MessageId: ERROR_SHUTDOWN_IN_PROGRESS
  2491. //
  2492. // MessageText:
  2493. //
  2494. //  A system shutdown is in progress.
  2495. //
  2496. #define ERROR_SHUTDOWN_IN_PROGRESS       1115
  2497.  
  2498. //
  2499. // MessageId: ERROR_NO_SHUTDOWN_IN_PROGRESS
  2500. //
  2501. // MessageText:
  2502. //
  2503. //  Unable to abort the system shutdown because no shutdown was in progress.
  2504. //
  2505. #define ERROR_NO_SHUTDOWN_IN_PROGRESS    1116
  2506.  
  2507. //
  2508. // MessageId: ERROR_IO_DEVICE
  2509. //
  2510. // MessageText:
  2511. //
  2512. //  The request could not be performed because of an I/O device error.
  2513. //
  2514. #define ERROR_IO_DEVICE                  1117
  2515.  
  2516. //
  2517. // MessageId: ERROR_SERIAL_NO_DEVICE
  2518. //
  2519. // MessageText:
  2520. //
  2521. //  No serial device was successfully initialized.  The serial driver will unload.
  2522. //
  2523. #define ERROR_SERIAL_NO_DEVICE           1118
  2524.  
  2525. //
  2526. // MessageId: ERROR_IRQ_BUSY
  2527. //
  2528. // MessageText:
  2529. //
  2530. //  Unable to open a device that was sharing an interrupt request (IRQ)
  2531. //  with other devices. At least one other device that uses that IRQ
  2532. //  was already opened.
  2533. //
  2534. #define ERROR_IRQ_BUSY                   1119
  2535.  
  2536. //
  2537. // MessageId: ERROR_MORE_WRITES
  2538. //
  2539. // MessageText:
  2540. //
  2541. //  A serial I/O operation was completed by another write to the serial port.
  2542. //  (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
  2543. //
  2544. #define ERROR_MORE_WRITES                1120
  2545.  
  2546. //
  2547. // MessageId: ERROR_COUNTER_TIMEOUT
  2548. //
  2549. // MessageText:
  2550. //
  2551. //  A serial I/O operation completed because the time-out period expired.
  2552. //  (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
  2553. //
  2554. #define ERROR_COUNTER_TIMEOUT            1121
  2555.  
  2556. //
  2557. // MessageId: ERROR_FLOPPY_ID_MARK_NOT_FOUND
  2558. //
  2559. // MessageText:
  2560. //
  2561. //  No ID address mark was found on the floppy disk.
  2562. //
  2563. #define ERROR_FLOPPY_ID_MARK_NOT_FOUND   1122
  2564.  
  2565. //
  2566. // MessageId: ERROR_FLOPPY_WRONG_CYLINDER
  2567. //
  2568. // MessageText:
  2569. //
  2570. //  Mismatch between the floppy disk sector ID field and the floppy disk
  2571. //  controller track address.
  2572. //
  2573. #define ERROR_FLOPPY_WRONG_CYLINDER      1123
  2574.  
  2575. //
  2576. // MessageId: ERROR_FLOPPY_UNKNOWN_ERROR
  2577. //
  2578. // MessageText:
  2579. //
  2580. //  The floppy disk controller reported an error that is not recognized
  2581. //  by the floppy disk driver.
  2582. //
  2583. #define ERROR_FLOPPY_UNKNOWN_ERROR       1124
  2584.  
  2585. //
  2586. // MessageId: ERROR_FLOPPY_BAD_REGISTERS
  2587. //
  2588. // MessageText:
  2589. //
  2590. //  The floppy disk controller returned inconsistent results in its registers.
  2591. //
  2592. #define ERROR_FLOPPY_BAD_REGISTERS       1125
  2593.  
  2594. //
  2595. // MessageId: ERROR_DISK_RECALIBRATE_FAILED
  2596. //
  2597. // MessageText:
  2598. //
  2599. //  While accessing the hard disk, a recalibrate operation failed, even after retries.
  2600. //
  2601. #define ERROR_DISK_RECALIBRATE_FAILED    1126
  2602.  
  2603. //
  2604. // MessageId: ERROR_DISK_OPERATION_FAILED
  2605. //
  2606. // MessageText:
  2607. //
  2608. //  While accessing the hard disk, a disk operation failed even after retries.
  2609. //
  2610. #define ERROR_DISK_OPERATION_FAILED      1127
  2611.  
  2612. //
  2613. // MessageId: ERROR_DISK_RESET_FAILED
  2614. //
  2615. // MessageText:
  2616. //
  2617. //  While accessing the hard disk, a disk controller reset was needed, but
  2618. //  even that failed.
  2619. //
  2620. #define ERROR_DISK_RESET_FAILED          1128
  2621.  
  2622. //
  2623. // MessageId: ERROR_EOM_OVERFLOW
  2624. //
  2625. // MessageText:
  2626. //
  2627. //  Physical end of tape encountered.
  2628. //
  2629. #define ERROR_EOM_OVERFLOW               1129
  2630.  
  2631. //
  2632. // MessageId: ERROR_NOT_ENOUGH_SERVER_MEMORY
  2633. //
  2634. // MessageText:
  2635. //
  2636. //  Not enough server storage is available to process this command.
  2637. //
  2638. #define ERROR_NOT_ENOUGH_SERVER_MEMORY   1130
  2639.  
  2640. //
  2641. // MessageId: ERROR_POSSIBLE_DEADLOCK
  2642. //
  2643. // MessageText:
  2644. //
  2645. //  A potential deadlock condition has been detected.
  2646. //
  2647. #define ERROR_POSSIBLE_DEADLOCK          1131
  2648.  
  2649. //
  2650. // MessageId: ERROR_MAPPED_ALIGNMENT
  2651. //
  2652. // MessageText:
  2653. //
  2654. //  The base address or the file offset specified does not have the proper
  2655. //  alignment.
  2656. //
  2657. #define ERROR_MAPPED_ALIGNMENT           1132
  2658.  
  2659. //
  2660. // MessageId: ERROR_SET_POWER_STATE_VETOED
  2661. //
  2662. // MessageText:
  2663. //
  2664. //  An attempt to change the system power state was vetoed by another
  2665. //  application or driver.
  2666. //
  2667. #define ERROR_SET_POWER_STATE_VETOED     1140
  2668.  
  2669. //
  2670. // MessageId: ERROR_SET_POWER_STATE_FAILED
  2671. //
  2672. // MessageText:
  2673. //
  2674. //  The system BIOS failed an attempt to change the system power state.
  2675. //
  2676. #define ERROR_SET_POWER_STATE_FAILED     1141
  2677.  
  2678. //
  2679. // MessageId: ERROR_OLD_WIN_VERSION
  2680. //
  2681. // MessageText:
  2682. //
  2683. //  The specified program requires a newer version of Windows.
  2684. //
  2685. #define ERROR_OLD_WIN_VERSION            1150
  2686.  
  2687. //
  2688. // MessageId: ERROR_APP_WRONG_OS
  2689. //
  2690. // MessageText:
  2691. //
  2692. //  The specified program is not a Windows or MS-DOS program.
  2693. //
  2694. #define ERROR_APP_WRONG_OS               1151
  2695.  
  2696. //
  2697. // MessageId: ERROR_SINGLE_INSTANCE_APP
  2698. //
  2699. // MessageText:
  2700. //
  2701. //  Cannot start more than one instance of the specified program.
  2702. //
  2703. #define ERROR_SINGLE_INSTANCE_APP        1152
  2704.  
  2705. //
  2706. // MessageId: ERROR_RMODE_APP
  2707. //
  2708. // MessageText:
  2709. //
  2710. //  The specified program was written for an older version of Windows.
  2711. //
  2712. #define ERROR_RMODE_APP                  1153
  2713.  
  2714. //
  2715. // MessageId: ERROR_INVALID_DLL
  2716. //
  2717. // MessageText:
  2718. //
  2719. //  One of the library files needed to run this application is damaged.
  2720. //
  2721. #define ERROR_INVALID_DLL                1154
  2722.  
  2723. //
  2724. // MessageId: ERROR_NO_ASSOCIATION
  2725. //
  2726. // MessageText:
  2727. //
  2728. //  No application is associated with the specified file for this operation.
  2729. //
  2730. #define ERROR_NO_ASSOCIATION             1155
  2731.  
  2732. //
  2733. // MessageId: ERROR_DDE_FAIL
  2734. //
  2735. // MessageText:
  2736. //
  2737. //  An error occurred in sending the command to the application.
  2738. //
  2739. #define ERROR_DDE_FAIL                   1156
  2740.  
  2741. //
  2742. // MessageId: ERROR_DLL_NOT_FOUND
  2743. //
  2744. // MessageText:
  2745. //
  2746. //  One of the library files needed to run this application cannot be found.
  2747. //
  2748. #define ERROR_DLL_NOT_FOUND              1157
  2749.  
  2750.  
  2751.  
  2752.  
  2753. ///////////////////////////
  2754. //                       //
  2755. // Winnet32 Status Codes //
  2756. //                       //
  2757. ///////////////////////////
  2758.  
  2759.  
  2760. //
  2761. // MessageId: ERROR_BAD_USERNAME
  2762. //
  2763. // MessageText:
  2764. //
  2765. //  The specified username is invalid.
  2766. //
  2767. #define ERROR_BAD_USERNAME               2202
  2768.  
  2769. //
  2770. // MessageId: ERROR_NOT_CONNECTED
  2771. //
  2772. // MessageText:
  2773. //
  2774. //  This network connection does not exist.
  2775. //
  2776. #define ERROR_NOT_CONNECTED              2250
  2777.  
  2778. //
  2779. // MessageId: ERROR_OPEN_FILES
  2780. //
  2781. // MessageText:
  2782. //
  2783. //  This network connection has files open or requests pending.
  2784. //
  2785. #define ERROR_OPEN_FILES                 2401
  2786.  
  2787. //
  2788. // MessageId: ERROR_ACTIVE_CONNECTIONS
  2789. //
  2790. // MessageText:
  2791. //
  2792. //  Active connections still exist.
  2793. //
  2794. #define ERROR_ACTIVE_CONNECTIONS         2402
  2795.  
  2796. //
  2797. // MessageId: ERROR_DEVICE_IN_USE
  2798. //
  2799. // MessageText:
  2800. //
  2801. //  The device is in use by an active process and cannot be disconnected.
  2802. //
  2803. #define ERROR_DEVICE_IN_USE              2404
  2804.  
  2805. //
  2806. // MessageId: ERROR_BAD_DEVICE
  2807. //
  2808. // MessageText:
  2809. //
  2810. //  The specified device name is invalid.
  2811. //
  2812. #define ERROR_BAD_DEVICE                 1200
  2813.  
  2814. //
  2815. // MessageId: ERROR_CONNECTION_UNAVAIL
  2816. //
  2817. // MessageText:
  2818. //
  2819. //  The device is not currently connected but it is a remembered connection.
  2820. //
  2821. #define ERROR_CONNECTION_UNAVAIL         1201
  2822.  
  2823. //
  2824. // MessageId: ERROR_DEVICE_ALREADY_REMEMBERED
  2825. //
  2826. // MessageText:
  2827. //
  2828. //  An attempt was made to remember a device that had previously been remembered.
  2829. //
  2830. #define ERROR_DEVICE_ALREADY_REMEMBERED  1202
  2831.  
  2832. //
  2833. // MessageId: ERROR_NO_NET_OR_BAD_PATH
  2834. //
  2835. // MessageText:
  2836. //
  2837. //  No network provider accepted the given network path.
  2838. //
  2839. #define ERROR_NO_NET_OR_BAD_PATH         1203
  2840.  
  2841. //
  2842. // MessageId: ERROR_BAD_PROVIDER
  2843. //
  2844. // MessageText:
  2845. //
  2846. //  The specified network provider name is invalid.
  2847. //
  2848. #define ERROR_BAD_PROVIDER               1204
  2849.  
  2850. //
  2851. // MessageId: ERROR_CANNOT_OPEN_PROFILE
  2852. //
  2853. // MessageText:
  2854. //
  2855. //  Unable to open the network connection profile.
  2856. //
  2857. #define ERROR_CANNOT_OPEN_PROFILE        1205
  2858.  
  2859. //
  2860. // MessageId: ERROR_BAD_PROFILE
  2861. //
  2862. // MessageText:
  2863. //
  2864. //  The network connection profile is corrupt.
  2865. //
  2866. #define ERROR_BAD_PROFILE                1206
  2867.  
  2868. //
  2869. // MessageId: ERROR_NOT_CONTAINER
  2870. //
  2871. // MessageText:
  2872. //
  2873. //  Cannot enumerate a non-container.
  2874. //
  2875. #define ERROR_NOT_CONTAINER              1207
  2876.  
  2877. //
  2878. // MessageId: ERROR_EXTENDED_ERROR
  2879. //
  2880. // MessageText:
  2881. //
  2882. //  An extended error has occurred.
  2883. //
  2884. #define ERROR_EXTENDED_ERROR             1208
  2885.  
  2886. //
  2887. // MessageId: ERROR_INVALID_GROUPNAME
  2888. //
  2889. // MessageText:
  2890. //
  2891. //  The format of the specified group name is invalid.
  2892. //
  2893. #define ERROR_INVALID_GROUPNAME          1209
  2894.  
  2895. //
  2896. // MessageId: ERROR_INVALID_COMPUTERNAME
  2897. //
  2898. // MessageText:
  2899. //
  2900. //  The format of the specified computer name is invalid.
  2901. //
  2902. #define ERROR_INVALID_COMPUTERNAME       1210
  2903.  
  2904. //
  2905. // MessageId: ERROR_INVALID_EVENTNAME
  2906. //
  2907. // MessageText:
  2908. //
  2909. //  The format of the specified event name is invalid.
  2910. //
  2911. #define ERROR_INVALID_EVENTNAME          1211
  2912.  
  2913. //
  2914. // MessageId: ERROR_INVALID_DOMAINNAME
  2915. //
  2916. // MessageText:
  2917. //
  2918. //  The format of the specified domain name is invalid.
  2919. //
  2920. #define ERROR_INVALID_DOMAINNAME         1212
  2921.  
  2922. //
  2923. // MessageId: ERROR_INVALID_SERVICENAME
  2924. //
  2925. // MessageText:
  2926. //
  2927. //  The format of the specified service name is invalid.
  2928. //
  2929. #define ERROR_INVALID_SERVICENAME        1213
  2930.  
  2931. //
  2932. // MessageId: ERROR_INVALID_NETNAME
  2933. //
  2934. // MessageText:
  2935. //
  2936. //  The format of the specified network name is invalid.
  2937. //
  2938. #define ERROR_INVALID_NETNAME            1214
  2939.  
  2940. //
  2941. // MessageId: ERROR_INVALID_SHARENAME
  2942. //
  2943. // MessageText:
  2944. //
  2945. //  The format of the specified share name is invalid.
  2946. //
  2947. #define ERROR_INVALID_SHARENAME          1215
  2948.  
  2949. //
  2950. // MessageId: ERROR_INVALID_PASSWORDNAME
  2951. //
  2952. // MessageText:
  2953. //
  2954. //  The format of the specified password is invalid.
  2955. //
  2956. #define ERROR_INVALID_PASSWORDNAME       1216
  2957.  
  2958. //
  2959. // MessageId: ERROR_INVALID_MESSAGENAME
  2960. //
  2961. // MessageText:
  2962. //
  2963. //  The format of the specified message name is invalid.
  2964. //
  2965. #define ERROR_INVALID_MESSAGENAME        1217
  2966.  
  2967. //
  2968. // MessageId: ERROR_INVALID_MESSAGEDEST
  2969. //
  2970. // MessageText:
  2971. //
  2972. //  The format of the specified message destination is invalid.
  2973. //
  2974. #define ERROR_INVALID_MESSAGEDEST        1218
  2975.  
  2976. //
  2977. // MessageId: ERROR_SESSION_CREDENTIAL_CONFLICT
  2978. //
  2979. // MessageText:
  2980. //
  2981. //  The credentials supplied conflict with an existing set of credentials.
  2982. //
  2983. #define ERROR_SESSION_CREDENTIAL_CONFLICT 1219
  2984.  
  2985. //
  2986. // MessageId: ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
  2987. //
  2988. // MessageText:
  2989. //
  2990. //  An attempt was made to establish a session to a network server, but there
  2991. //  are already too many sessions established to that server.
  2992. //
  2993. #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220
  2994.  
  2995. //
  2996. // MessageId: ERROR_DUP_DOMAINNAME
  2997. //
  2998. // MessageText:
  2999. //
  3000. //  The workgroup or domain name is already in use by another computer on the
  3001. //  network.
  3002. //
  3003. #define ERROR_DUP_DOMAINNAME             1221
  3004.  
  3005. //
  3006. // MessageId: ERROR_NO_NETWORK
  3007. //
  3008. // MessageText:
  3009. //
  3010. //  The network is not present or not started.
  3011. //
  3012. #define ERROR_NO_NETWORK                 1222
  3013.  
  3014. //
  3015. // MessageId: ERROR_CANCELLED
  3016. //
  3017. // MessageText:
  3018. //
  3019. //  The operation was cancelled by the user.
  3020. //
  3021. #define ERROR_CANCELLED                  1223
  3022.  
  3023. //
  3024. // MessageId: ERROR_USER_MAPPED_FILE
  3025. //
  3026. // MessageText:
  3027. //
  3028. //  The requested operation cannot be performed on a file with a user mapped section open.
  3029. //
  3030. #define ERROR_USER_MAPPED_FILE           1224
  3031.  
  3032. //
  3033. // MessageId: ERROR_CONNECTION_REFUSED
  3034. //
  3035. // MessageText:
  3036. //
  3037. //  The remote system refused the network connection.
  3038. //
  3039. #define ERROR_CONNECTION_REFUSED         1225
  3040.  
  3041. //
  3042. // MessageId: ERROR_GRACEFUL_DISCONNECT
  3043. //
  3044. // MessageText:
  3045. //
  3046. //  The network connection was gracefully closed.
  3047. //
  3048. #define ERROR_GRACEFUL_DISCONNECT        1226
  3049.  
  3050. //
  3051. // MessageId: ERROR_ADDRESS_ALREADY_ASSOCIATED
  3052. //
  3053. // MessageText:
  3054. //
  3055. //  The network transport endpoint already has an address associated with it.
  3056. //
  3057. #define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227
  3058.  
  3059. //
  3060. // MessageId: ERROR_ADDRESS_NOT_ASSOCIATED
  3061. //
  3062. // MessageText:
  3063. //
  3064. //  An address has not yet been associated with the network endpoint.
  3065. //
  3066. #define ERROR_ADDRESS_NOT_ASSOCIATED     1228
  3067.  
  3068. //
  3069. // MessageId: ERROR_CONNECTION_INVALID
  3070. //
  3071. // MessageText:
  3072. //
  3073. //  An operation was attempted on a non-existent network connection.
  3074. //
  3075. #define ERROR_CONNECTION_INVALID         1229
  3076.  
  3077. //
  3078. // MessageId: ERROR_CONNECTION_ACTIVE
  3079. //
  3080. // MessageText:
  3081. //
  3082. //  An invalid operation was attempted on an active network connection.
  3083. //
  3084. #define ERROR_CONNECTION_ACTIVE          1230
  3085.  
  3086. //
  3087. // MessageId: ERROR_NETWORK_UNREACHABLE
  3088. //
  3089. // MessageText:
  3090. //
  3091. //  The remote network is not reachable by the transport.
  3092. //
  3093. #define ERROR_NETWORK_UNREACHABLE        1231
  3094.  
  3095. //
  3096. // MessageId: ERROR_HOST_UNREACHABLE
  3097. //
  3098. // MessageText:
  3099. //
  3100. //  The remote system is not reachable by the transport.
  3101. //
  3102. #define ERROR_HOST_UNREACHABLE           1232
  3103.  
  3104. //
  3105. // MessageId: ERROR_PROTOCOL_UNREACHABLE
  3106. //
  3107. // MessageText:
  3108. //
  3109. //  The remote system does not support the transport protocol.
  3110. //
  3111. #define ERROR_PROTOCOL_UNREACHABLE       1233
  3112.  
  3113. //
  3114. // MessageId: ERROR_PORT_UNREACHABLE
  3115. //
  3116. // MessageText:
  3117. //
  3118. //  No service is operating at the destination network endpoint
  3119. //  on the remote system.
  3120. //
  3121. #define ERROR_PORT_UNREACHABLE           1234
  3122.  
  3123. //
  3124. // MessageId: ERROR_REQUEST_ABORTED
  3125. //
  3126. // MessageText:
  3127. //
  3128. //  The request was aborted.
  3129. //
  3130. #define ERROR_REQUEST_ABORTED            1235
  3131.  
  3132. //
  3133. // MessageId: ERROR_CONNECTION_ABORTED
  3134. //
  3135. // MessageText:
  3136. //
  3137. //  The network connection was aborted by the local system.
  3138. //
  3139. #define ERROR_CONNECTION_ABORTED         1236
  3140.  
  3141. //
  3142. // MessageId: ERROR_RETRY
  3143. //
  3144. // MessageText:
  3145. //
  3146. //  The operation could not be completed.  A retry should be performed.
  3147. //
  3148. #define ERROR_RETRY                      1237
  3149.  
  3150. //
  3151. // MessageId: ERROR_CONNECTION_COUNT_LIMIT
  3152. //
  3153. // MessageText:
  3154. //
  3155. //  A connection to the server could not be made because the limit on the number of
  3156. //  concurrent connections for this account has been reached.
  3157. //
  3158. #define ERROR_CONNECTION_COUNT_LIMIT     1238
  3159.  
  3160. //
  3161. // MessageId: ERROR_LOGIN_TIME_RESTRICTION
  3162. //
  3163. // MessageText:
  3164. //
  3165. //  Attempting to login during an unauthorized time of day for this account.
  3166. //
  3167. #define ERROR_LOGIN_TIME_RESTRICTION     1239
  3168.  
  3169. //
  3170. // MessageId: ERROR_LOGIN_WKSTA_RESTRICTION
  3171. //
  3172. // MessageText:
  3173. //
  3174. //  The account is not authorized to login from this station.
  3175. //
  3176. #define ERROR_LOGIN_WKSTA_RESTRICTION    1240
  3177.  
  3178. //
  3179. // MessageId: ERROR_INCORRECT_ADDRESS
  3180. //
  3181. // MessageText:
  3182. //
  3183. //  The network address could not be used for the operation requested.
  3184. //
  3185. #define ERROR_INCORRECT_ADDRESS          1241
  3186.  
  3187. //
  3188. // MessageId: ERROR_ALREADY_REGISTERED
  3189. //
  3190. // MessageText:
  3191. //
  3192. //  The service is already registered.
  3193. //
  3194. #define ERROR_ALREADY_REGISTERED         1242
  3195.  
  3196. //
  3197. // MessageId: ERROR_SERVICE_NOT_FOUND
  3198. //
  3199. // MessageText:
  3200. //
  3201. //  The specified service does not exist.
  3202. //
  3203. #define ERROR_SERVICE_NOT_FOUND          1243
  3204.  
  3205. //
  3206. // MessageId: ERROR_NOT_AUTHENTICATED
  3207. //
  3208. // MessageText:
  3209. //
  3210. //  The operation being requested was not performed because the user
  3211. //  has not been authenticated.
  3212. //
  3213. #define ERROR_NOT_AUTHENTICATED          1244
  3214.  
  3215. //
  3216. // MessageId: ERROR_NOT_LOGGED_ON
  3217. //
  3218. // MessageText:
  3219. //
  3220. //  The operation being requested was not performed because the user
  3221. //  has not logged on to the network.
  3222. //  The specified service does not exist.
  3223. //
  3224. #define ERROR_NOT_LOGGED_ON              1245
  3225.  
  3226. //
  3227. // MessageId: ERROR_CONTINUE
  3228. //
  3229. // MessageText:
  3230. //
  3231. //  Return that wants caller to continue with work in progress.
  3232. //
  3233. #define ERROR_CONTINUE                   1246
  3234.  
  3235. //
  3236. // MessageId: ERROR_ALREADY_INITIALIZED
  3237. //
  3238. // MessageText:
  3239. //
  3240. //  An attempt was made to perform an initialization operation when
  3241. //  initialization has already been completed.
  3242. //
  3243. #define ERROR_ALREADY_INITIALIZED        1247
  3244.  
  3245. //
  3246. // MessageId: ERROR_NO_MORE_DEVICES
  3247. //
  3248. // MessageText:
  3249. //
  3250. //  No more local devices.
  3251. //
  3252. #define ERROR_NO_MORE_DEVICES            1248
  3253.  
  3254.  
  3255.  
  3256.  
  3257. ///////////////////////////
  3258. //                       //
  3259. // Security Status Codes //
  3260. //                       //
  3261. ///////////////////////////
  3262.  
  3263.  
  3264. //
  3265. // MessageId: ERROR_NOT_ALL_ASSIGNED
  3266. //
  3267. // MessageText:
  3268. //
  3269. //  Not all privileges referenced are assigned to the caller.
  3270. //
  3271. #define ERROR_NOT_ALL_ASSIGNED           1300
  3272.  
  3273. //
  3274. // MessageId: ERROR_SOME_NOT_MAPPED
  3275. //
  3276. // MessageText:
  3277. //
  3278. //  Some mapping between account names and security IDs was not done.
  3279. //
  3280. #define ERROR_SOME_NOT_MAPPED            1301
  3281.  
  3282. //
  3283. // MessageId: ERROR_NO_QUOTAS_FOR_ACCOUNT
  3284. //
  3285. // MessageText:
  3286. //
  3287. //  No system quota limits are specifically set for this account.
  3288. //
  3289. #define ERROR_NO_QUOTAS_FOR_ACCOUNT      1302
  3290.  
  3291. //
  3292. // MessageId: ERROR_LOCAL_USER_SESSION_KEY
  3293. //
  3294. // MessageText:
  3295. //
  3296. //  No encryption key is available.  A well-known encryption key was returned.
  3297. //
  3298. #define ERROR_LOCAL_USER_SESSION_KEY     1303
  3299.  
  3300. //
  3301. // MessageId: ERROR_NULL_LM_PASSWORD
  3302. //
  3303. // MessageText:
  3304. //
  3305. //  The NT password is too complex to be converted to a LAN Manager
  3306. //  password.  The LAN Manager password returned is a NULL string.
  3307. //
  3308. #define ERROR_NULL_LM_PASSWORD           1304
  3309.  
  3310. //
  3311. // MessageId: ERROR_UNKNOWN_REVISION
  3312. //
  3313. // MessageText:
  3314. //
  3315. //  The revision level is unknown.
  3316. //
  3317. #define ERROR_UNKNOWN_REVISION           1305
  3318.  
  3319. //
  3320. // MessageId: ERROR_REVISION_MISMATCH
  3321. //
  3322. // MessageText:
  3323. //
  3324. //  Indicates two revision levels are incompatible.
  3325. //
  3326. #define ERROR_REVISION_MISMATCH          1306
  3327.  
  3328. //
  3329. // MessageId: ERROR_INVALID_OWNER
  3330. //
  3331. // MessageText:
  3332. //
  3333. //  This security ID may not be assigned as the owner of this object.
  3334. //
  3335. #define ERROR_INVALID_OWNER              1307
  3336.  
  3337. //
  3338. // MessageId: ERROR_INVALID_PRIMARY_GROUP
  3339. //
  3340. // MessageText:
  3341. //
  3342. //  This security ID may not be assigned as the primary group of an object.
  3343. //
  3344. #define ERROR_INVALID_PRIMARY_GROUP      1308
  3345.  
  3346. //
  3347. // MessageId: ERROR_NO_IMPERSONATION_TOKEN
  3348. //
  3349. // MessageText:
  3350. //
  3351. //  An attempt has been made to operate on an impersonation token
  3352. //  by a thread that is not currently impersonating a client.
  3353. //
  3354. #define ERROR_NO_IMPERSONATION_TOKEN     1309
  3355.  
  3356. //
  3357. // MessageId: ERROR_CANT_DISABLE_MANDATORY
  3358. //
  3359. // MessageText:
  3360. //
  3361. //  The group may not be disabled.
  3362. //
  3363. #define ERROR_CANT_DISABLE_MANDATORY     1310
  3364.  
  3365. //
  3366. // MessageId: ERROR_NO_LOGON_SERVERS
  3367. //
  3368. // MessageText:
  3369. //
  3370. //  There are currently no logon servers available to service the logon
  3371. //  request.
  3372. //
  3373. #define ERROR_NO_LOGON_SERVERS           1311
  3374.  
  3375. //
  3376. // MessageId: ERROR_NO_SUCH_LOGON_SESSION
  3377. //
  3378. // MessageText:
  3379. //
  3380. //   A specified logon session does not exist.  It may already have
  3381. //   been terminated.
  3382. //
  3383. #define ERROR_NO_SUCH_LOGON_SESSION      1312
  3384.  
  3385. //
  3386. // MessageId: ERROR_NO_SUCH_PRIVILEGE
  3387. //
  3388. // MessageText:
  3389. //
  3390. //   A specified privilege does not exist.
  3391. //
  3392. #define ERROR_NO_SUCH_PRIVILEGE          1313
  3393.  
  3394. //
  3395. // MessageId: ERROR_PRIVILEGE_NOT_HELD
  3396. //
  3397. // MessageText:
  3398. //
  3399. //   A required privilege is not held by the client.
  3400. //
  3401. #define ERROR_PRIVILEGE_NOT_HELD         1314
  3402.  
  3403. //
  3404. // MessageId: ERROR_INVALID_ACCOUNT_NAME
  3405. //
  3406. // MessageText:
  3407. //
  3408. //  The name provided is not a properly formed account name.
  3409. //
  3410. #define ERROR_INVALID_ACCOUNT_NAME       1315
  3411.  
  3412. //
  3413. // MessageId: ERROR_USER_EXISTS
  3414. //
  3415. // MessageText:
  3416. //
  3417. //  The specified user already exists.
  3418. //
  3419. #define ERROR_USER_EXISTS                1316
  3420.  
  3421. //
  3422. // MessageId: ERROR_NO_SUCH_USER
  3423. //
  3424. // MessageText:
  3425. //
  3426. //  The specified user does not exist.
  3427. //
  3428. #define ERROR_NO_SUCH_USER               1317
  3429.  
  3430. //
  3431. // MessageId: ERROR_GROUP_EXISTS
  3432. //
  3433. // MessageText:
  3434. //
  3435. //  The specified group already exists.
  3436. //
  3437. #define ERROR_GROUP_EXISTS               1318
  3438.  
  3439. //
  3440. // MessageId: ERROR_NO_SUCH_GROUP
  3441. //
  3442. // MessageText:
  3443. //
  3444. //  The specified group does not exist.
  3445. //
  3446. #define ERROR_NO_SUCH_GROUP              1319
  3447.  
  3448. //
  3449. // MessageId: ERROR_MEMBER_IN_GROUP
  3450. //
  3451. // MessageText:
  3452. //
  3453. //  Either the specified user account is already a member of the specified
  3454. //  group, or the specified group cannot be deleted because it contains
  3455. //  a member.
  3456. //
  3457. #define ERROR_MEMBER_IN_GROUP            1320
  3458.  
  3459. //
  3460. // MessageId: ERROR_MEMBER_NOT_IN_GROUP
  3461. //
  3462. // MessageText:
  3463. //
  3464. //  The specified user account is not a member of the specified group account.
  3465. //
  3466. #define ERROR_MEMBER_NOT_IN_GROUP        1321
  3467.  
  3468. //
  3469. // MessageId: ERROR_LAST_ADMIN
  3470. //
  3471. // MessageText:
  3472. //
  3473. //  The last remaining administration account cannot be disabled
  3474. //  or deleted.
  3475. //
  3476. #define ERROR_LAST_ADMIN                 1322
  3477.  
  3478. //
  3479. // MessageId: ERROR_WRONG_PASSWORD
  3480. //
  3481. // MessageText:
  3482. //
  3483. //  Unable to update the password.  The value provided as the current
  3484. //  password is incorrect.
  3485. //
  3486. #define ERROR_WRONG_PASSWORD             1323
  3487.  
  3488. //
  3489. // MessageId: ERROR_ILL_FORMED_PASSWORD
  3490. //
  3491. // MessageText:
  3492. //
  3493. //  Unable to update the password.  The value provided for the new password
  3494. //  contains values that are not allowed in passwords.
  3495. //
  3496. #define ERROR_ILL_FORMED_PASSWORD        1324
  3497.  
  3498. //
  3499. // MessageId: ERROR_PASSWORD_RESTRICTION
  3500. //
  3501. // MessageText:
  3502. //
  3503. //  Unable to update the password because a password update rule has been
  3504. //  violated.
  3505. //
  3506. #define ERROR_PASSWORD_RESTRICTION       1325
  3507.  
  3508. //
  3509. // MessageId: ERROR_LOGON_FAILURE
  3510. //
  3511. // MessageText:
  3512. //
  3513. //  Logon failure: unknown user name or bad password.
  3514. //
  3515. #define ERROR_LOGON_FAILURE              1326
  3516.  
  3517. //
  3518. // MessageId: ERROR_ACCOUNT_RESTRICTION
  3519. //
  3520. // MessageText:
  3521. //
  3522. //  Logon failure: user account restriction.
  3523. //
  3524. #define ERROR_ACCOUNT_RESTRICTION        1327
  3525.  
  3526. //
  3527. // MessageId: ERROR_INVALID_LOGON_HOURS
  3528. //
  3529. // MessageText:
  3530. //
  3531. //  Logon failure: account logon time restriction violation.
  3532. //
  3533. #define ERROR_INVALID_LOGON_HOURS        1328
  3534.  
  3535. //
  3536. // MessageId: ERROR_INVALID_WORKSTATION
  3537. //
  3538. // MessageText:
  3539. //
  3540. //  Logon failure: user not allowed to log on to this computer.
  3541. //
  3542. #define ERROR_INVALID_WORKSTATION        1329
  3543.  
  3544. //
  3545. // MessageId: ERROR_PASSWORD_EXPIRED
  3546. //
  3547. // MessageText:
  3548. //
  3549. //  Logon failure: the specified account password has expired.
  3550. //
  3551. #define ERROR_PASSWORD_EXPIRED           1330
  3552.  
  3553. //
  3554. // MessageId: ERROR_ACCOUNT_DISABLED
  3555. //
  3556. // MessageText:
  3557. //
  3558. //  Logon failure: account currently disabled.
  3559. //
  3560. #define ERROR_ACCOUNT_DISABLED           1331
  3561.  
  3562. //
  3563. // MessageId: ERROR_NONE_MAPPED
  3564. //
  3565. // MessageText:
  3566. //
  3567. //  No mapping between account names and security IDs was done.
  3568. //
  3569. #define ERROR_NONE_MAPPED                1332
  3570.  
  3571. //
  3572. // MessageId: ERROR_TOO_MANY_LUIDS_REQUESTED
  3573. //
  3574. // MessageText:
  3575. //
  3576. //  Too many local user identifiers (LUIDs) were requested at one time.
  3577. //
  3578. #define ERROR_TOO_MANY_LUIDS_REQUESTED   1333
  3579.  
  3580. //
  3581. // MessageId: ERROR_LUIDS_EXHAUSTED
  3582. //
  3583. // MessageText:
  3584. //
  3585. //  No more local user identifiers (LUIDs) are available.
  3586. //
  3587. #define ERROR_LUIDS_EXHAUSTED            1334
  3588.  
  3589. //
  3590. // MessageId: ERROR_INVALID_SUB_AUTHORITY
  3591. //
  3592. // MessageText:
  3593. //
  3594. //  The subauthority part of a security ID is invalid for this particular use.
  3595. //
  3596. #define ERROR_INVALID_SUB_AUTHORITY      1335
  3597.  
  3598. //
  3599. // MessageId: ERROR_INVALID_ACL
  3600. //
  3601. // MessageText:
  3602. //
  3603. //  The access control list (ACL) structure is invalid.
  3604. //
  3605. #define ERROR_INVALID_ACL                1336
  3606.  
  3607. //
  3608. // MessageId: ERROR_INVALID_SID
  3609. //
  3610. // MessageText:
  3611. //
  3612. //  The security ID structure is invalid.
  3613. //
  3614. #define ERROR_INVALID_SID                1337
  3615.  
  3616. //
  3617. // MessageId: ERROR_INVALID_SECURITY_DESCR
  3618. //
  3619. // MessageText:
  3620. //
  3621. //  The security descriptor structure is invalid.
  3622. //
  3623. #define ERROR_INVALID_SECURITY_DESCR     1338
  3624.  
  3625. //
  3626. // MessageId: ERROR_BAD_INHERITANCE_ACL
  3627. //
  3628. // MessageText:
  3629. //
  3630. //  The inherited access control list (ACL) or access control entry (ACE)
  3631. //  could not be built.
  3632. //
  3633. #define ERROR_BAD_INHERITANCE_ACL        1340
  3634.  
  3635. //
  3636. // MessageId: ERROR_SERVER_DISABLED
  3637. //
  3638. // MessageText:
  3639. //
  3640. //  The server is currently disabled.
  3641. //
  3642. #define ERROR_SERVER_DISABLED            1341
  3643.  
  3644. //
  3645. // MessageId: ERROR_SERVER_NOT_DISABLED
  3646. //
  3647. // MessageText:
  3648. //
  3649. //  The server is currently enabled.
  3650. //
  3651. #define ERROR_SERVER_NOT_DISABLED        1342
  3652.  
  3653. //
  3654. // MessageId: ERROR_INVALID_ID_AUTHORITY
  3655. //
  3656. // MessageText:
  3657. //
  3658. //  The value provided was an invalid value for an identifier authority.
  3659. //
  3660. #define ERROR_INVALID_ID_AUTHORITY       1343
  3661.  
  3662. //
  3663. // MessageId: ERROR_ALLOTTED_SPACE_EXCEEDED
  3664. //
  3665. // MessageText:
  3666. //
  3667. //  No more memory is available for security information updates.
  3668. //
  3669. #define ERROR_ALLOTTED_SPACE_EXCEEDED    1344
  3670.  
  3671. //
  3672. // MessageId: ERROR_INVALID_GROUP_ATTRIBUTES
  3673. //
  3674. // MessageText:
  3675. //
  3676. //  The specified attributes are invalid, or incompatible with the
  3677. //  attributes for the group as a whole.
  3678. //
  3679. #define ERROR_INVALID_GROUP_ATTRIBUTES   1345
  3680.  
  3681. //
  3682. // MessageId: ERROR_BAD_IMPERSONATION_LEVEL
  3683. //
  3684. // MessageText:
  3685. //
  3686. //  Either a required impersonation level was not provided, or the
  3687. //  provided impersonation level is invalid.
  3688. //
  3689. #define ERROR_BAD_IMPERSONATION_LEVEL    1346
  3690.  
  3691. //
  3692. // MessageId: ERROR_CANT_OPEN_ANONYMOUS
  3693. //
  3694. // MessageText:
  3695. //
  3696. //  Cannot open an anonymous level security token.
  3697. //
  3698. #define ERROR_CANT_OPEN_ANONYMOUS        1347
  3699.  
  3700. //
  3701. // MessageId: ERROR_BAD_VALIDATION_CLASS
  3702. //
  3703. // MessageText:
  3704. //
  3705. //  The validation information class requested was invalid.
  3706. //
  3707. #define ERROR_BAD_VALIDATION_CLASS       1348
  3708.  
  3709. //
  3710. // MessageId: ERROR_BAD_TOKEN_TYPE
  3711. //
  3712. // MessageText:
  3713. //
  3714. //  The type of the token is inappropriate for its attempted use.
  3715. //
  3716. #define ERROR_BAD_TOKEN_TYPE             1349
  3717.  
  3718. //
  3719. // MessageId: ERROR_NO_SECURITY_ON_OBJECT
  3720. //
  3721. // MessageText:
  3722. //
  3723. //  Unable to perform a security operation on an object
  3724. //  which has no associated security.
  3725. //
  3726. #define ERROR_NO_SECURITY_ON_OBJECT      1350
  3727.  
  3728. //
  3729. // MessageId: ERROR_CANT_ACCESS_DOMAIN_INFO
  3730. //
  3731. // MessageText:
  3732. //
  3733. //  Indicates a Windows NT Server could not be contacted or that
  3734. //  objects within the domain are protected such that necessary
  3735. //  information could not be retrieved.
  3736. //
  3737. #define ERROR_CANT_ACCESS_DOMAIN_INFO    1351
  3738.  
  3739. //
  3740. // MessageId: ERROR_INVALID_SERVER_STATE
  3741. //
  3742. // MessageText:
  3743. //
  3744. //  The security account manager (SAM) or local security
  3745. //  authority (LSA) server was in the wrong state to perform
  3746. //  the security operation.
  3747. //
  3748. #define ERROR_INVALID_SERVER_STATE       1352
  3749.  
  3750. //
  3751. // MessageId: ERROR_INVALID_DOMAIN_STATE
  3752. //
  3753. // MessageText:
  3754. //
  3755. //  The domain was in the wrong state to perform the security operation.
  3756. //
  3757. #define ERROR_INVALID_DOMAIN_STATE       1353
  3758.  
  3759. //
  3760. // MessageId: ERROR_INVALID_DOMAIN_ROLE
  3761. //
  3762. // MessageText:
  3763. //
  3764. //  This operation is only allowed for the Primary Domain Controller of the domain.
  3765. //
  3766. #define ERROR_INVALID_DOMAIN_ROLE        1354
  3767.  
  3768. //
  3769. // MessageId: ERROR_NO_SUCH_DOMAIN
  3770. //
  3771. // MessageText:
  3772. //
  3773. //  The specified domain did not exist.
  3774. //
  3775. #define ERROR_NO_SUCH_DOMAIN             1355
  3776.  
  3777. //
  3778. // MessageId: ERROR_DOMAIN_EXISTS
  3779. //
  3780. // MessageText:
  3781. //
  3782. //  The specified domain already exists.
  3783. //
  3784. #define ERROR_DOMAIN_EXISTS              1356
  3785.  
  3786. //
  3787. // MessageId: ERROR_DOMAIN_LIMIT_EXCEEDED
  3788. //
  3789. // MessageText:
  3790. //
  3791. //  An attempt was made to exceed the limit on the number of domains per server.
  3792. //
  3793. #define ERROR_DOMAIN_LIMIT_EXCEEDED      1357
  3794.  
  3795. //
  3796. // MessageId: ERROR_INTERNAL_DB_CORRUPTION
  3797. //
  3798. // MessageText:
  3799. //
  3800. //  Unable to complete the requested operation because of either a
  3801. //  catastrophic media failure or a data structure corruption on the disk.
  3802. //
  3803. #define ERROR_INTERNAL_DB_CORRUPTION     1358
  3804.  
  3805. //
  3806. // MessageId: ERROR_INTERNAL_ERROR
  3807. //
  3808. // MessageText:
  3809. //
  3810. //  The security account database contains an internal inconsistency.
  3811. //
  3812. #define ERROR_INTERNAL_ERROR             1359
  3813.  
  3814. //
  3815. // MessageId: ERROR_GENERIC_NOT_MAPPED
  3816. //
  3817. // MessageText:
  3818. //
  3819. //  Generic access types were contained in an access mask which should
  3820. //  already be mapped to non-generic types.
  3821. //
  3822. #define ERROR_GENERIC_NOT_MAPPED         1360
  3823.  
  3824. //
  3825. // MessageId: ERROR_BAD_DESCRIPTOR_FORMAT
  3826. //
  3827. // MessageText:
  3828. //
  3829. //  A security descriptor is not in the right format (absolute or self-relative).
  3830. //
  3831. #define ERROR_BAD_DESCRIPTOR_FORMAT      1361
  3832.  
  3833. //
  3834. // MessageId: ERROR_NOT_LOGON_PROCESS
  3835. //
  3836. // MessageText:
  3837. //
  3838. //  The requested action is restricted for use by logon processes
  3839. //  only.  The calling process has not registered as a logon process.
  3840. //
  3841. #define ERROR_NOT_LOGON_PROCESS          1362
  3842.  
  3843. //
  3844. // MessageId: ERROR_LOGON_SESSION_EXISTS
  3845. //
  3846. // MessageText:
  3847. //
  3848. //  Cannot start a new logon session with an ID that is already in use.
  3849. //
  3850. #define ERROR_LOGON_SESSION_EXISTS       1363
  3851.  
  3852. //
  3853. // MessageId: ERROR_NO_SUCH_PACKAGE
  3854. //
  3855. // MessageText:
  3856. //
  3857. //  A specified authentication package is unknown.
  3858. //
  3859. #define ERROR_NO_SUCH_PACKAGE            1364
  3860.  
  3861. //
  3862. // MessageId: ERROR_BAD_LOGON_SESSION_STATE
  3863. //
  3864. // MessageText:
  3865. //
  3866. //  The logon session is not in a state that is consistent with the
  3867. //  requested operation.
  3868. //
  3869. #define ERROR_BAD_LOGON_SESSION_STATE    1365
  3870.  
  3871. //
  3872. // MessageId: ERROR_LOGON_SESSION_COLLISION
  3873. //
  3874. // MessageText:
  3875. //
  3876. //  The logon session ID is already in use.
  3877. //
  3878. #define ERROR_LOGON_SESSION_COLLISION    1366
  3879.  
  3880. //
  3881. // MessageId: ERROR_INVALID_LOGON_TYPE
  3882. //
  3883. // MessageText:
  3884. //
  3885. //  A logon request contained an invalid logon type value.
  3886. //
  3887. #define ERROR_INVALID_LOGON_TYPE         1367
  3888.  
  3889. //
  3890. // MessageId: ERROR_CANNOT_IMPERSONATE
  3891. //
  3892. // MessageText:
  3893. //
  3894. //  Unable to impersonate via a named pipe until data has been read
  3895. //  from that pipe.
  3896. //
  3897. #define ERROR_CANNOT_IMPERSONATE         1368
  3898.  
  3899. //
  3900. // MessageId: ERROR_RXACT_INVALID_STATE
  3901. //
  3902. // MessageText:
  3903. //
  3904. //  The transaction state of a Registry subtree is incompatible with the
  3905. //  requested operation.
  3906. //
  3907. #define ERROR_RXACT_INVALID_STATE        1369
  3908.  
  3909. //
  3910. // MessageId: ERROR_RXACT_COMMIT_FAILURE
  3911. //
  3912. // MessageText:
  3913. //
  3914. //  An internal security database corruption has been encountered.
  3915. //
  3916. #define ERROR_RXACT_COMMIT_FAILURE       1370
  3917.  
  3918. //
  3919. // MessageId: ERROR_SPECIAL_ACCOUNT
  3920. //
  3921. // MessageText:
  3922. //
  3923. //  Cannot perform this operation on built-in accounts.
  3924. //
  3925. #define ERROR_SPECIAL_ACCOUNT            1371
  3926.  
  3927. //
  3928. // MessageId: ERROR_SPECIAL_GROUP
  3929. //
  3930. // MessageText:
  3931. //
  3932. //  Cannot perform this operation on this built-in special group.
  3933. //
  3934. #define ERROR_SPECIAL_GROUP              1372
  3935.  
  3936. //
  3937. // MessageId: ERROR_SPECIAL_USER
  3938. //
  3939. // MessageText:
  3940. //
  3941. //  Cannot perform this operation on this built-in special user.
  3942. //
  3943. #define ERROR_SPECIAL_USER               1373
  3944.  
  3945. //
  3946. // MessageId: ERROR_MEMBERS_PRIMARY_GROUP
  3947. //
  3948. // MessageText:
  3949. //
  3950. //  The user cannot be removed from a group because the group
  3951. //  is currently the user's primary group.
  3952. //
  3953. #define ERROR_MEMBERS_PRIMARY_GROUP      1374
  3954.  
  3955. //
  3956. // MessageId: ERROR_TOKEN_ALREADY_IN_USE
  3957. //
  3958. // MessageText:
  3959. //
  3960. //  The token is already in use as a primary token.
  3961. //
  3962. #define ERROR_TOKEN_ALREADY_IN_USE       1375
  3963.  
  3964. //
  3965. // MessageId: ERROR_NO_SUCH_ALIAS
  3966. //
  3967. // MessageText:
  3968. //
  3969. //  The specified local group does not exist.
  3970. //
  3971. #define ERROR_NO_SUCH_ALIAS              1376
  3972.  
  3973. //
  3974. // MessageId: ERROR_MEMBER_NOT_IN_ALIAS
  3975. //
  3976. // MessageText:
  3977. //
  3978. //  The specified account name is not a member of the local group.
  3979. //
  3980. #define ERROR_MEMBER_NOT_IN_ALIAS        1377
  3981.  
  3982. //
  3983. // MessageId: ERROR_MEMBER_IN_ALIAS
  3984. //
  3985. // MessageText:
  3986. //
  3987. //  The specified account name is already a member of the local group.
  3988. //
  3989. #define ERROR_MEMBER_IN_ALIAS            1378
  3990.  
  3991. //
  3992. // MessageId: ERROR_ALIAS_EXISTS
  3993. //
  3994. // MessageText:
  3995. //
  3996. //  The specified local group already exists.
  3997. //
  3998. #define ERROR_ALIAS_EXISTS               1379
  3999.  
  4000. //
  4001. // MessageId: ERROR_LOGON_NOT_GRANTED
  4002. //
  4003. // MessageText:
  4004. //
  4005. //  Logon failure: the user has not been granted the requested
  4006. //  logon type at this computer.
  4007. //
  4008. #define ERROR_LOGON_NOT_GRANTED          1380
  4009.  
  4010. //
  4011. // MessageId: ERROR_TOO_MANY_SECRETS
  4012. //
  4013. // MessageText:
  4014. //
  4015. //  The maximum number of secrets that may be stored in a single system has been
  4016. //  exceeded.
  4017. //
  4018. #define ERROR_TOO_MANY_SECRETS           1381
  4019.  
  4020. //
  4021. // MessageId: ERROR_SECRET_TOO_LONG
  4022. //
  4023. // MessageText:
  4024. //
  4025. //  The length of a secret exceeds the maximum length allowed.
  4026. //
  4027. #define ERROR_SECRET_TOO_LONG            1382
  4028.  
  4029. //
  4030. // MessageId: ERROR_INTERNAL_DB_ERROR
  4031. //
  4032. // MessageText:
  4033. //
  4034. //  The local security authority database contains an internal inconsistency.
  4035. //
  4036. #define ERROR_INTERNAL_DB_ERROR          1383
  4037.  
  4038. //
  4039. // MessageId: ERROR_TOO_MANY_CONTEXT_IDS
  4040. //
  4041. // MessageText:
  4042. //
  4043. //  During a logon attempt, the user's security context accumulated too many
  4044. //  security IDs.
  4045. //
  4046. #define ERROR_TOO_MANY_CONTEXT_IDS       1384
  4047.  
  4048. //
  4049. // MessageId: ERROR_LOGON_TYPE_NOT_GRANTED
  4050. //
  4051. // MessageText:
  4052. //
  4053. //  Logon failure: the user has not been granted the requested logon type
  4054. //  at this computer.
  4055. //
  4056. #define ERROR_LOGON_TYPE_NOT_GRANTED     1385
  4057.  
  4058. //
  4059. // MessageId: ERROR_NT_CROSS_ENCRYPTION_REQUIRED
  4060. //
  4061. // MessageText:
  4062. //
  4063. //  A cross-encrypted password is necessary to change a user password.
  4064. //
  4065. #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386
  4066.  
  4067. //
  4068. // MessageId: ERROR_NO_SUCH_MEMBER
  4069. //
  4070. // MessageText:
  4071. //
  4072. //  A new member could not be added to a local group because the member does
  4073. //  not exist.
  4074. //
  4075. #define ERROR_NO_SUCH_MEMBER             1387
  4076.  
  4077. //
  4078. // MessageId: ERROR_INVALID_MEMBER
  4079. //
  4080. // MessageText:
  4081. //
  4082. //  A new member could not be added to a local group because the member has the
  4083. //  wrong account type.
  4084. //
  4085. #define ERROR_INVALID_MEMBER             1388
  4086.  
  4087. //
  4088. // MessageId: ERROR_TOO_MANY_SIDS
  4089. //
  4090. // MessageText:
  4091. //
  4092. //  Too many security IDs have been specified.
  4093. //
  4094. #define ERROR_TOO_MANY_SIDS              1389
  4095.  
  4096. //
  4097. // MessageId: ERROR_LM_CROSS_ENCRYPTION_REQUIRED
  4098. //
  4099. // MessageText:
  4100. //
  4101. //  A cross-encrypted password is necessary to change this user password.
  4102. //
  4103. #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390
  4104.  
  4105. //
  4106. // MessageId: ERROR_NO_INHERITANCE
  4107. //
  4108. // MessageText:
  4109. //
  4110. //  Indicates an ACL contains no inheritable components
  4111. //
  4112. #define ERROR_NO_INHERITANCE             1391
  4113.  
  4114. //
  4115. // MessageId: ERROR_FILE_CORRUPT
  4116. //
  4117. // MessageText:
  4118. //
  4119. //  The file or directory is corrupt and non-readable.
  4120. //
  4121. #define ERROR_FILE_CORRUPT               1392
  4122.  
  4123. //
  4124. // MessageId: ERROR_DISK_CORRUPT
  4125. //
  4126. // MessageText:
  4127. //
  4128. //  The disk structure is corrupt and non-readable.
  4129. //
  4130. #define ERROR_DISK_CORRUPT               1393
  4131.  
  4132. //
  4133. // MessageId: ERROR_NO_USER_SESSION_KEY
  4134. //
  4135. // MessageText:
  4136. //
  4137. //  There is no user session key for the specified logon session.
  4138. //
  4139. #define ERROR_NO_USER_SESSION_KEY        1394
  4140.  
  4141. //
  4142. // MessageId: ERROR_LICENSE_QUOTA_EXCEEDED
  4143. //
  4144. // MessageText:
  4145. //
  4146. //  The service being accessed is licensed for a particular number of
  4147. //  connections. No more connections can be made to the service at this time
  4148. //  because there are already as many connections as the service can accept.
  4149. //
  4150. #define ERROR_LICENSE_QUOTA_EXCEEDED     1395
  4151.  
  4152. // End of security error codes
  4153.  
  4154.  
  4155.  
  4156. ///////////////////////////
  4157. //                       //
  4158. // WinUser Error Codes   //
  4159. //                       //
  4160. ///////////////////////////
  4161.  
  4162.  
  4163. //
  4164. // MessageId: ERROR_INVALID_WINDOW_HANDLE
  4165. //
  4166. // MessageText:
  4167. //
  4168. //  Invalid window handle.
  4169. //
  4170. #define ERROR_INVALID_WINDOW_HANDLE      1400
  4171.  
  4172. //
  4173. // MessageId: ERROR_INVALID_MENU_HANDLE
  4174. //
  4175. // MessageText:
  4176. //
  4177. //  Invalid menu handle.
  4178. //
  4179. #define ERROR_INVALID_MENU_HANDLE        1401
  4180.  
  4181. //
  4182. // MessageId: ERROR_INVALID_CURSOR_HANDLE
  4183. //
  4184. // MessageText:
  4185. //
  4186. //  Invalid cursor handle.
  4187. //
  4188. #define ERROR_INVALID_CURSOR_HANDLE      1402
  4189.  
  4190. //
  4191. // MessageId: ERROR_INVALID_ACCEL_HANDLE
  4192. //
  4193. // MessageText:
  4194. //
  4195. //  Invalid accelerator table handle.
  4196. //
  4197. #define ERROR_INVALID_ACCEL_HANDLE       1403
  4198.  
  4199. //
  4200. // MessageId: ERROR_INVALID_HOOK_HANDLE
  4201. //
  4202. // MessageText:
  4203. //
  4204. //  Invalid hook handle.
  4205. //
  4206. #define ERROR_INVALID_HOOK_HANDLE        1404
  4207.  
  4208. //
  4209. // MessageId: ERROR_INVALID_DWP_HANDLE
  4210. //
  4211. // MessageText:
  4212. //
  4213. //  Invalid handle to a multiple-window position structure.
  4214. //
  4215. #define ERROR_INVALID_DWP_HANDLE         1405
  4216.  
  4217. //
  4218. // MessageId: ERROR_TLW_WITH_WSCHILD
  4219. //
  4220. // MessageText:
  4221. //
  4222. //  Cannot create a top-level child window.
  4223. //
  4224. #define ERROR_TLW_WITH_WSCHILD           1406
  4225.  
  4226. //
  4227. // MessageId: ERROR_CANNOT_FIND_WND_CLASS
  4228. //
  4229. // MessageText:
  4230. //
  4231. //  Cannot find window class.
  4232. //
  4233. #define ERROR_CANNOT_FIND_WND_CLASS      1407
  4234.  
  4235. //
  4236. // MessageId: ERROR_WINDOW_OF_OTHER_THREAD
  4237. //
  4238. // MessageText:
  4239. //
  4240. //  Invalid window, belongs to other thread.
  4241. //
  4242. #define ERROR_WINDOW_OF_OTHER_THREAD     1408
  4243.  
  4244. //
  4245. // MessageId: ERROR_HOTKEY_ALREADY_REGISTERED
  4246. //
  4247. // MessageText:
  4248. //
  4249. //  Hot key is already registered.
  4250. //
  4251. #define ERROR_HOTKEY_ALREADY_REGISTERED  1409
  4252.  
  4253. //
  4254. // MessageId: ERROR_CLASS_ALREADY_EXISTS
  4255. //
  4256. // MessageText:
  4257. //
  4258. //  Class already exists.
  4259. //
  4260. #define ERROR_CLASS_ALREADY_EXISTS       1410
  4261.  
  4262. //
  4263. // MessageId: ERROR_CLASS_DOES_NOT_EXIST
  4264. //
  4265. // MessageText:
  4266. //
  4267. //  Class does not exist.
  4268. //
  4269. #define ERROR_CLASS_DOES_NOT_EXIST       1411
  4270.  
  4271. //
  4272. // MessageId: ERROR_CLASS_HAS_WINDOWS
  4273. //
  4274. // MessageText:
  4275. //
  4276. //  Class still has open windows.
  4277. //
  4278. #define ERROR_CLASS_HAS_WINDOWS          1412
  4279.  
  4280. //
  4281. // MessageId: ERROR_INVALID_INDEX
  4282. //
  4283. // MessageText:
  4284. //
  4285. //  Invalid index.
  4286. //
  4287. #define ERROR_INVALID_INDEX              1413
  4288.  
  4289. //
  4290. // MessageId: ERROR_INVALID_ICON_HANDLE
  4291. //
  4292. // MessageText:
  4293. //
  4294. //  Invalid icon handle.
  4295. //
  4296. #define ERROR_INVALID_ICON_HANDLE        1414
  4297.  
  4298. //
  4299. // MessageId: ERROR_PRIVATE_DIALOG_INDEX
  4300. //
  4301. // MessageText:
  4302. //
  4303. //  Using private DIALOG window words.
  4304. //
  4305. #define ERROR_PRIVATE_DIALOG_INDEX       1415
  4306.  
  4307. //
  4308. // MessageId: ERROR_LISTBOX_ID_NOT_FOUND
  4309. //
  4310. // MessageText:
  4311. //
  4312. //  The listbox identifier was not found.
  4313. //
  4314. #define ERROR_LISTBOX_ID_NOT_FOUND       1416
  4315.  
  4316. //
  4317. // MessageId: ERROR_NO_WILDCARD_CHARACTERS
  4318. //
  4319. // MessageText:
  4320. //
  4321. //  No wildcards were found.
  4322. //
  4323. #define ERROR_NO_WILDCARD_CHARACTERS     1417
  4324.  
  4325. //
  4326. // MessageId: ERROR_CLIPBOARD_NOT_OPEN
  4327. //
  4328. // MessageText:
  4329. //
  4330. //  Thread does not have a clipboard open.
  4331. //
  4332. #define ERROR_CLIPBOARD_NOT_OPEN         1418
  4333.  
  4334. //
  4335. // MessageId: ERROR_HOTKEY_NOT_REGISTERED
  4336. //
  4337. // MessageText:
  4338. //
  4339. //  Hot key is not registered.
  4340. //
  4341. #define ERROR_HOTKEY_NOT_REGISTERED      1419
  4342.  
  4343. //
  4344. // MessageId: ERROR_WINDOW_NOT_DIALOG
  4345. //
  4346. // MessageText:
  4347. //
  4348. //  The window is not a valid dialog window.
  4349. //
  4350. #define ERROR_WINDOW_NOT_DIALOG          1420
  4351.  
  4352. //
  4353. // MessageId: ERROR_CONTROL_ID_NOT_FOUND
  4354. //
  4355. // MessageText:
  4356. //
  4357. //  Control ID not found.
  4358. //
  4359. #define ERROR_CONTROL_ID_NOT_FOUND       1421
  4360.  
  4361. //
  4362. // MessageId: ERROR_INVALID_COMBOBOX_MESSAGE
  4363. //
  4364. // MessageText:
  4365. //
  4366. //  Invalid message for a combo box because it does not have an edit control.
  4367. //
  4368. #define ERROR_INVALID_COMBOBOX_MESSAGE   1422
  4369.  
  4370. //
  4371. // MessageId: ERROR_WINDOW_NOT_COMBOBOX
  4372. //
  4373. // MessageText:
  4374. //
  4375. //  The window is not a combo box.
  4376. //
  4377. #define ERROR_WINDOW_NOT_COMBOBOX        1423
  4378.  
  4379. //
  4380. // MessageId: ERROR_INVALID_EDIT_HEIGHT
  4381. //
  4382. // MessageText:
  4383. //
  4384. //  Height must be less than 256.
  4385. //
  4386. #define ERROR_INVALID_EDIT_HEIGHT        1424
  4387.  
  4388. //
  4389. // MessageId: ERROR_DC_NOT_FOUND
  4390. //
  4391. // MessageText:
  4392. //
  4393. //  Invalid device context (DC) handle.
  4394. //
  4395. #define ERROR_DC_NOT_FOUND               1425
  4396.  
  4397. //
  4398. // MessageId: ERROR_INVALID_HOOK_FILTER
  4399. //
  4400. // MessageText:
  4401. //
  4402. //  Invalid hook procedure type.
  4403. //
  4404. #define ERROR_INVALID_HOOK_FILTER        1426
  4405.  
  4406. //
  4407. // MessageId: ERROR_INVALID_FILTER_PROC
  4408. //
  4409. // MessageText:
  4410. //
  4411. //  Invalid hook procedure.
  4412. //
  4413. #define ERROR_INVALID_FILTER_PROC        1427
  4414.  
  4415. //
  4416. // MessageId: ERROR_HOOK_NEEDS_HMOD
  4417. //
  4418. // MessageText:
  4419. //
  4420. //  Cannot set non-local hook without a module handle.
  4421. //
  4422. #define ERROR_HOOK_NEEDS_HMOD            1428
  4423.  
  4424. //
  4425. // MessageId: ERROR_GLOBAL_ONLY_HOOK
  4426. //
  4427. // MessageText:
  4428. //
  4429. //  This hook procedure can only be set globally.
  4430. //
  4431. #define ERROR_GLOBAL_ONLY_HOOK           1429
  4432.  
  4433. //
  4434. // MessageId: ERROR_JOURNAL_HOOK_SET
  4435. //
  4436. // MessageText:
  4437. //
  4438. //  The journal hook procedure is already installed.
  4439. //
  4440. #define ERROR_JOURNAL_HOOK_SET           1430
  4441.  
  4442. //
  4443. // MessageId: ERROR_HOOK_NOT_INSTALLED
  4444. //
  4445. // MessageText:
  4446. //
  4447. //  The hook procedure is not installed.
  4448. //
  4449. #define ERROR_HOOK_NOT_INSTALLED         1431
  4450.  
  4451. //
  4452. // MessageId: ERROR_INVALID_LB_MESSAGE
  4453. //
  4454. // MessageText:
  4455. //
  4456. //  Invalid message for single-selection listbox.
  4457. //
  4458. #define ERROR_INVALID_LB_MESSAGE         1432
  4459.  
  4460. //
  4461. // MessageId: ERROR_SETCOUNT_ON_BAD_LB
  4462. //
  4463. // MessageText:
  4464. //
  4465. //  LB_SETCOUNT sent to non-lazy listbox.
  4466. //
  4467. #define ERROR_SETCOUNT_ON_BAD_LB         1433
  4468.  
  4469. //
  4470. // MessageId: ERROR_LB_WITHOUT_TABSTOPS
  4471. //
  4472. // MessageText:
  4473. //
  4474. //  This list box does not support tab stops.
  4475. //
  4476. #define ERROR_LB_WITHOUT_TABSTOPS        1434
  4477.  
  4478. //
  4479. // MessageId: ERROR_DESTROY_OBJECT_OF_OTHER_THREAD
  4480. //
  4481. // MessageText:
  4482. //
  4483. //  Cannot destroy object created by another thread.
  4484. //
  4485. #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435
  4486.  
  4487. //
  4488. // MessageId: ERROR_CHILD_WINDOW_MENU
  4489. //
  4490. // MessageText:
  4491. //
  4492. //  Child windows cannot have menus.
  4493. //
  4494. #define ERROR_CHILD_WINDOW_MENU          1436
  4495.  
  4496. //
  4497. // MessageId: ERROR_NO_SYSTEM_MENU
  4498. //
  4499. // MessageText:
  4500. //
  4501. //  The window does not have a system menu.
  4502. //
  4503. #define ERROR_NO_SYSTEM_MENU             1437
  4504.  
  4505. //
  4506. // MessageId: ERROR_INVALID_MSGBOX_STYLE
  4507. //
  4508. // MessageText:
  4509. //
  4510. //  Invalid message box style.
  4511. //
  4512. #define ERROR_INVALID_MSGBOX_STYLE       1438
  4513.  
  4514. //
  4515. // MessageId: ERROR_INVALID_SPI_VALUE
  4516. //
  4517. // MessageText:
  4518. //
  4519. //  Invalid system-wide (SPI_//) parameter.
  4520. //
  4521. #define ERROR_INVALID_SPI_VALUE          1439
  4522.  
  4523. //
  4524. // MessageId: ERROR_SCREEN_ALREADY_LOCKED
  4525. //
  4526. // MessageText:
  4527. //
  4528. //  Screen already locked.
  4529. //
  4530. #define ERROR_SCREEN_ALREADY_LOCKED      1440
  4531.  
  4532. //
  4533. // MessageId: ERROR_HWNDS_HAVE_DIFF_PARENT
  4534. //
  4535. // MessageText:
  4536. //
  4537. //  All handles to windows in a multiple-window position structure must
  4538. //  have the same parent.
  4539. //
  4540. #define ERROR_HWNDS_HAVE_DIFF_PARENT     1441
  4541.  
  4542. //
  4543. // MessageId: ERROR_NOT_CHILD_WINDOW
  4544. //
  4545. // MessageText:
  4546. //
  4547. //  The window is not a child window.
  4548. //
  4549. #define ERROR_NOT_CHILD_WINDOW           1442
  4550.  
  4551. //
  4552. // MessageId: ERROR_INVALID_GW_COMMAND
  4553. //
  4554. // MessageText:
  4555. //
  4556. //  Invalid GW_// command.
  4557. //
  4558. #define ERROR_INVALID_GW_COMMAND         1443
  4559.  
  4560. //
  4561. // MessageId: ERROR_INVALID_THREAD_ID
  4562. //
  4563. // MessageText:
  4564. //
  4565. //  Invalid thread identifier.
  4566. //
  4567. #define ERROR_INVALID_THREAD_ID          1444
  4568.  
  4569. //
  4570. // MessageId: ERROR_NON_MDICHILD_WINDOW
  4571. //
  4572. // MessageText:
  4573. //
  4574. //  Cannot process a message from a window that is not a multiple document
  4575. //  interface (MDI) window.
  4576. //
  4577. #define ERROR_NON_MDICHILD_WINDOW        1445
  4578.  
  4579. //
  4580. // MessageId: ERROR_POPUP_ALREADY_ACTIVE
  4581. //
  4582. // MessageText:
  4583. //
  4584. //  Popup menu already active.
  4585. //
  4586. #define ERROR_POPUP_ALREADY_ACTIVE       1446
  4587.  
  4588. //
  4589. // MessageId: ERROR_NO_SCROLLBARS
  4590. //
  4591. // MessageText:
  4592. //
  4593. //  The window does not have scroll bars.
  4594. //
  4595. #define ERROR_NO_SCROLLBARS              1447
  4596.  
  4597. //
  4598. // MessageId: ERROR_INVALID_SCROLLBAR_RANGE
  4599. //
  4600. // MessageText:
  4601. //
  4602. //  Scroll bar range cannot be greater than 0x7FFF.
  4603. //
  4604. #define ERROR_INVALID_SCROLLBAR_RANGE    1448
  4605.  
  4606. //
  4607. // MessageId: ERROR_INVALID_SHOWWIN_COMMAND
  4608. //
  4609. // MessageText:
  4610. //
  4611. //  Cannot show or remove the window in the way specified.
  4612. //
  4613. #define ERROR_INVALID_SHOWWIN_COMMAND    1449
  4614.  
  4615. //
  4616. // MessageId: ERROR_NO_SYSTEM_RESOURCES
  4617. //
  4618. // MessageText:
  4619. //
  4620. //  Insufficient system resources exist to complete the requested service.
  4621. //
  4622. #define ERROR_NO_SYSTEM_RESOURCES        1450
  4623.  
  4624. //
  4625. // MessageId: ERROR_NONPAGED_SYSTEM_RESOURCES
  4626. //
  4627. // MessageText:
  4628. //
  4629. //  Insufficient system resources exist to complete the requested service.
  4630. //
  4631. #define ERROR_NONPAGED_SYSTEM_RESOURCES  1451
  4632.  
  4633. //
  4634. // MessageId: ERROR_PAGED_SYSTEM_RESOURCES
  4635. //
  4636. // MessageText:
  4637. //
  4638. //  Insufficient system resources exist to complete the requested service.
  4639. //
  4640. #define ERROR_PAGED_SYSTEM_RESOURCES     1452
  4641.  
  4642. //
  4643. // MessageId: ERROR_WORKING_SET_QUOTA
  4644. //
  4645. // MessageText:
  4646. //
  4647. //  Insufficient quota to complete the requested service.
  4648. //
  4649. #define ERROR_WORKING_SET_QUOTA          1453
  4650.  
  4651. //
  4652. // MessageId: ERROR_PAGEFILE_QUOTA
  4653. //
  4654. // MessageText:
  4655. //
  4656. //  Insufficient quota to complete the requested service.
  4657. //
  4658. #define ERROR_PAGEFILE_QUOTA             1454
  4659.  
  4660. //
  4661. // MessageId: ERROR_COMMITMENT_LIMIT
  4662. //
  4663. // MessageText:
  4664. //
  4665. //  The paging file is too small for this operation to complete.
  4666. //
  4667. #define ERROR_COMMITMENT_LIMIT           1455
  4668.  
  4669. //
  4670. // MessageId: ERROR_MENU_ITEM_NOT_FOUND
  4671. //
  4672. // MessageText:
  4673. //
  4674. //  A menu item was not found.
  4675. //
  4676. #define ERROR_MENU_ITEM_NOT_FOUND        1456
  4677.  
  4678. // End of WinUser error codes
  4679.  
  4680.  
  4681.  
  4682. ///////////////////////////
  4683. //                       //
  4684. // Eventlog Status Codes //
  4685. //                       //
  4686. ///////////////////////////
  4687.  
  4688.  
  4689. //
  4690. // MessageId: ERROR_EVENTLOG_FILE_CORRUPT
  4691. //
  4692. // MessageText:
  4693. //
  4694. //  The event log file is corrupt.
  4695. //
  4696. #define ERROR_EVENTLOG_FILE_CORRUPT      1500
  4697.  
  4698. //
  4699. // MessageId: ERROR_EVENTLOG_CANT_START
  4700. //
  4701. // MessageText:
  4702. //
  4703. //  No event log file could be opened, so the event logging service did not start.
  4704. //
  4705. #define ERROR_EVENTLOG_CANT_START        1501
  4706.  
  4707. //
  4708. // MessageId: ERROR_LOG_FILE_FULL
  4709. //
  4710. // MessageText:
  4711. //
  4712. //  The event log file is full.
  4713. //
  4714. #define ERROR_LOG_FILE_FULL              1502
  4715.  
  4716. //
  4717. // MessageId: ERROR_EVENTLOG_FILE_CHANGED
  4718. //
  4719. // MessageText:
  4720. //
  4721. //  The event log file has changed between reads.
  4722. //
  4723. #define ERROR_EVENTLOG_FILE_CHANGED      1503
  4724.  
  4725. // End of eventlog error codes
  4726.  
  4727.  
  4728.  
  4729. ///////////////////////////
  4730. //                       //
  4731. //   RPC Status Codes    //
  4732. //                       //
  4733. ///////////////////////////
  4734.  
  4735.  
  4736. //
  4737. // MessageId: RPC_S_INVALID_STRING_BINDING
  4738. //
  4739. // MessageText:
  4740. //
  4741. //  The string binding is invalid.
  4742. //
  4743. #define RPC_S_INVALID_STRING_BINDING     1700
  4744.  
  4745. //
  4746. // MessageId: RPC_S_WRONG_KIND_OF_BINDING
  4747. //
  4748. // MessageText:
  4749. //
  4750. //  The binding handle is not the correct type.
  4751. //
  4752. #define RPC_S_WRONG_KIND_OF_BINDING      1701
  4753.  
  4754. //
  4755. // MessageId: RPC_S_INVALID_BINDING
  4756. //
  4757. // MessageText:
  4758. //
  4759. //  The binding handle is invalid.
  4760. //
  4761. #define RPC_S_INVALID_BINDING            1702
  4762.  
  4763. //
  4764. // MessageId: RPC_S_PROTSEQ_NOT_SUPPORTED
  4765. //
  4766. // MessageText:
  4767. //
  4768. //  The RPC protocol sequence is not supported.
  4769. //
  4770. #define RPC_S_PROTSEQ_NOT_SUPPORTED      1703
  4771.  
  4772. //
  4773. // MessageId: RPC_S_INVALID_RPC_PROTSEQ
  4774. //
  4775. // MessageText:
  4776. //
  4777. //  The RPC protocol sequence is invalid.
  4778. //
  4779. #define RPC_S_INVALID_RPC_PROTSEQ        1704
  4780.  
  4781. //
  4782. // MessageId: RPC_S_INVALID_STRING_UUID
  4783. //
  4784. // MessageText:
  4785. //
  4786. //  The string universal unique identifier (UUID) is invalid.
  4787. //
  4788. #define RPC_S_INVALID_STRING_UUID        1705
  4789.  
  4790. //
  4791. // MessageId: RPC_S_INVALID_ENDPOINT_FORMAT
  4792. //
  4793. // MessageText:
  4794. //
  4795. //  The endpoint format is invalid.
  4796. //
  4797. #define RPC_S_INVALID_ENDPOINT_FORMAT    1706
  4798.  
  4799. //
  4800. // MessageId: RPC_S_INVALID_NET_ADDR
  4801. //
  4802. // MessageText:
  4803. //
  4804. //  The network address is invalid.
  4805. //
  4806. #define RPC_S_INVALID_NET_ADDR           1707
  4807.  
  4808. //
  4809. // MessageId: RPC_S_NO_ENDPOINT_FOUND
  4810. //
  4811. // MessageText:
  4812. //
  4813. //  No endpoint was found.
  4814. //
  4815. #define RPC_S_NO_ENDPOINT_FOUND          1708
  4816.  
  4817. //
  4818. // MessageId: RPC_S_INVALID_TIMEOUT
  4819. //
  4820. // MessageText:
  4821. //
  4822. //  The timeout value is invalid.
  4823. //
  4824. #define RPC_S_INVALID_TIMEOUT            1709
  4825.  
  4826. //
  4827. // MessageId: RPC_S_OBJECT_NOT_FOUND
  4828. //
  4829. // MessageText:
  4830. //
  4831. //  The object universal unique identifier (UUID) was not found.
  4832. //
  4833. #define RPC_S_OBJECT_NOT_FOUND           1710
  4834.  
  4835. //
  4836. // MessageId: RPC_S_ALREADY_REGISTERED
  4837. //
  4838. // MessageText:
  4839. //
  4840. //  The object universal unique identifier (UUID) has already been registered.
  4841. //
  4842. #define RPC_S_ALREADY_REGISTERED         1711
  4843.  
  4844. //
  4845. // MessageId: RPC_S_TYPE_ALREADY_REGISTERED
  4846. //
  4847. // MessageText:
  4848. //
  4849. //  The type universal unique identifier (UUID) has already been registered.
  4850. //
  4851. #define RPC_S_TYPE_ALREADY_REGISTERED    1712
  4852.  
  4853. //
  4854. // MessageId: RPC_S_ALREADY_LISTENING
  4855. //
  4856. // MessageText:
  4857. //
  4858. //  The RPC server is already listening.
  4859. //
  4860. #define RPC_S_ALREADY_LISTENING          1713
  4861.  
  4862. //
  4863. // MessageId: RPC_S_NO_PROTSEQS_REGISTERED
  4864. //
  4865. // MessageText:
  4866. //
  4867. //  No protocol sequences have been registered.
  4868. //
  4869. #define RPC_S_NO_PROTSEQS_REGISTERED     1714
  4870.  
  4871. //
  4872. // MessageId: RPC_S_NOT_LISTENING
  4873. //
  4874. // MessageText:
  4875. //
  4876. //  The RPC server is not listening.
  4877. //
  4878. #define RPC_S_NOT_LISTENING              1715
  4879.  
  4880. //
  4881. // MessageId: RPC_S_UNKNOWN_MGR_TYPE
  4882. //
  4883. // MessageText:
  4884. //
  4885. //  The manager type is unknown.
  4886. //
  4887. #define RPC_S_UNKNOWN_MGR_TYPE           1716
  4888.  
  4889. //
  4890. // MessageId: RPC_S_UNKNOWN_IF
  4891. //
  4892. // MessageText:
  4893. //
  4894. //  The interface is unknown.
  4895. //
  4896. #define RPC_S_UNKNOWN_IF                 1717
  4897.  
  4898. //
  4899. // MessageId: RPC_S_NO_BINDINGS
  4900. //
  4901. // MessageText:
  4902. //
  4903. //  There are no bindings.
  4904. //
  4905. #define RPC_S_NO_BINDINGS                1718
  4906.  
  4907. //
  4908. // MessageId: RPC_S_NO_PROTSEQS
  4909. //
  4910. // MessageText:
  4911. //
  4912. //  There are no protocol sequences.
  4913. //
  4914. #define RPC_S_NO_PROTSEQS                1719
  4915.  
  4916. //
  4917. // MessageId: RPC_S_CANT_CREATE_ENDPOINT
  4918. //
  4919. // MessageText:
  4920. //
  4921. //  The endpoint cannot be created.
  4922. //
  4923. #define RPC_S_CANT_CREATE_ENDPOINT       1720
  4924.  
  4925. //
  4926. // MessageId: RPC_S_OUT_OF_RESOURCES
  4927. //
  4928. // MessageText:
  4929. //
  4930. //  Not enough resources are available to complete this operation.
  4931. //
  4932. #define RPC_S_OUT_OF_RESOURCES           1721
  4933.  
  4934. //
  4935. // MessageId: RPC_S_SERVER_UNAVAILABLE
  4936. //
  4937. // MessageText:
  4938. //
  4939. //  The RPC server is unavailable.
  4940. //
  4941. #define RPC_S_SERVER_UNAVAILABLE         1722
  4942.  
  4943. //
  4944. // MessageId: RPC_S_SERVER_TOO_BUSY
  4945. //
  4946. // MessageText:
  4947. //
  4948. //  The RPC server is too busy to complete this operation.
  4949. //
  4950. #define RPC_S_SERVER_TOO_BUSY            1723
  4951.  
  4952. //
  4953. // MessageId: RPC_S_INVALID_NETWORK_OPTIONS
  4954. //
  4955. // MessageText:
  4956. //
  4957. //  The network options are invalid.
  4958. //
  4959. #define RPC_S_INVALID_NETWORK_OPTIONS    1724
  4960.  
  4961. //
  4962. // MessageId: RPC_S_NO_CALL_ACTIVE
  4963. //
  4964. // MessageText:
  4965. //
  4966. //  There is not a remote procedure call active in this thread.
  4967. //
  4968. #define RPC_S_NO_CALL_ACTIVE             1725
  4969.  
  4970. //
  4971. // MessageId: RPC_S_CALL_FAILED
  4972. //
  4973. // MessageText:
  4974. //
  4975. //  The remote procedure call failed.
  4976. //
  4977. #define RPC_S_CALL_FAILED                1726
  4978.  
  4979. //
  4980. // MessageId: RPC_S_CALL_FAILED_DNE
  4981. //
  4982. // MessageText:
  4983. //
  4984. //  The remote procedure call failed and did not execute.
  4985. //
  4986. #define RPC_S_CALL_FAILED_DNE            1727
  4987.  
  4988. //
  4989. // MessageId: RPC_S_PROTOCOL_ERROR
  4990. //
  4991. // MessageText:
  4992. //
  4993. //  A remote procedure call (RPC) protocol error occurred.
  4994. //
  4995. #define RPC_S_PROTOCOL_ERROR             1728
  4996.  
  4997. //
  4998. // MessageId: RPC_S_UNSUPPORTED_TRANS_SYN
  4999. //
  5000. // MessageText:
  5001. //
  5002. //  The transfer syntax is not supported by the RPC server.
  5003. //
  5004. #define RPC_S_UNSUPPORTED_TRANS_SYN      1730
  5005.  
  5006. //
  5007. // MessageId: RPC_S_UNSUPPORTED_TYPE
  5008. //
  5009. // MessageText:
  5010. //
  5011. //  The universal unique identifier (UUID) type is not supported.
  5012. //
  5013. #define RPC_S_UNSUPPORTED_TYPE           1732
  5014.  
  5015. //
  5016. // MessageId: RPC_S_INVALID_TAG
  5017. //
  5018. // MessageText:
  5019. //
  5020. //  The tag is invalid.
  5021. //
  5022. #define RPC_S_INVALID_TAG                1733
  5023.  
  5024. //
  5025. // MessageId: RPC_S_INVALID_BOUND
  5026. //
  5027. // MessageText:
  5028. //
  5029. //  The array bounds are invalid.
  5030. //
  5031. #define RPC_S_INVALID_BOUND              1734
  5032.  
  5033. //
  5034. // MessageId: RPC_S_NO_ENTRY_NAME
  5035. //
  5036. // MessageText:
  5037. //
  5038. //  The binding does not contain an entry name.
  5039. //
  5040. #define RPC_S_NO_ENTRY_NAME              1735
  5041.  
  5042. //
  5043. // MessageId: RPC_S_INVALID_NAME_SYNTAX
  5044. //
  5045. // MessageText:
  5046. //
  5047. //  The name syntax is invalid.
  5048. //
  5049. #define RPC_S_INVALID_NAME_SYNTAX        1736
  5050.  
  5051. //
  5052. // MessageId: RPC_S_UNSUPPORTED_NAME_SYNTAX
  5053. //
  5054. // MessageText:
  5055. //
  5056. //  The name syntax is not supported.
  5057. //
  5058. #define RPC_S_UNSUPPORTED_NAME_SYNTAX    1737
  5059.  
  5060. //
  5061. // MessageId: RPC_S_UUID_NO_ADDRESS
  5062. //
  5063. // MessageText:
  5064. //
  5065. //  No network address is available to use to construct a universal
  5066. //  unique identifier (UUID).
  5067. //
  5068. #define RPC_S_UUID_NO_ADDRESS            1739
  5069.  
  5070. //
  5071. // MessageId: RPC_S_DUPLICATE_ENDPOINT
  5072. //
  5073. // MessageText:
  5074. //
  5075. //  The endpoint is a duplicate.
  5076. //
  5077. #define RPC_S_DUPLICATE_ENDPOINT         1740
  5078.  
  5079. //
  5080. // MessageId: RPC_S_UNKNOWN_AUTHN_TYPE
  5081. //
  5082. // MessageText:
  5083. //
  5084. //  The authentication type is unknown.
  5085. //
  5086. #define RPC_S_UNKNOWN_AUTHN_TYPE         1741
  5087.  
  5088. //
  5089. // MessageId: RPC_S_MAX_CALLS_TOO_SMALL
  5090. //
  5091. // MessageText:
  5092. //
  5093. //  The maximum number of calls is too small.
  5094. //
  5095. #define RPC_S_MAX_CALLS_TOO_SMALL        1742
  5096.  
  5097. //
  5098. // MessageId: RPC_S_STRING_TOO_LONG
  5099. //
  5100. // MessageText:
  5101. //
  5102. //  The string is too long.
  5103. //
  5104. #define RPC_S_STRING_TOO_LONG            1743
  5105.  
  5106. //
  5107. // MessageId: RPC_S_PROTSEQ_NOT_FOUND
  5108. //
  5109. // MessageText:
  5110. //
  5111. //  The RPC protocol sequence was not found.
  5112. //
  5113. #define RPC_S_PROTSEQ_NOT_FOUND          1744
  5114.  
  5115. //
  5116. // MessageId: RPC_S_PROCNUM_OUT_OF_RANGE
  5117. //
  5118. // MessageText:
  5119. //
  5120. //  The procedure number is out of range.
  5121. //
  5122. #define RPC_S_PROCNUM_OUT_OF_RANGE       1745
  5123.  
  5124. //
  5125. // MessageId: RPC_S_BINDING_HAS_NO_AUTH
  5126. //
  5127. // MessageText:
  5128. //
  5129. //  The binding does not contain any authentication information.
  5130. //
  5131. #define RPC_S_BINDING_HAS_NO_AUTH        1746
  5132.  
  5133. //
  5134. // MessageId: RPC_S_UNKNOWN_AUTHN_SERVICE
  5135. //
  5136. // MessageText:
  5137. //
  5138. //  The authentication service is unknown.
  5139. //
  5140. #define RPC_S_UNKNOWN_AUTHN_SERVICE      1747
  5141.  
  5142. //
  5143. // MessageId: RPC_S_UNKNOWN_AUTHN_LEVEL
  5144. //
  5145. // MessageText:
  5146. //
  5147. //  The authentication level is unknown.
  5148. //
  5149. #define RPC_S_UNKNOWN_AUTHN_LEVEL        1748
  5150.  
  5151. //
  5152. // MessageId: RPC_S_INVALID_AUTH_IDENTITY
  5153. //
  5154. // MessageText:
  5155. //
  5156. //  The security context is invalid.
  5157. //
  5158. #define RPC_S_INVALID_AUTH_IDENTITY      1749
  5159.  
  5160. //
  5161. // MessageId: RPC_S_UNKNOWN_AUTHZ_SERVICE
  5162. //
  5163. // MessageText:
  5164. //
  5165. //  The authorization service is unknown.
  5166. //
  5167. #define RPC_S_UNKNOWN_AUTHZ_SERVICE      1750
  5168.  
  5169. //
  5170. // MessageId: EPT_S_INVALID_ENTRY
  5171. //
  5172. // MessageText:
  5173. //
  5174. //  The entry is invalid.
  5175. //
  5176. #define EPT_S_INVALID_ENTRY              1751
  5177.  
  5178. //
  5179. // MessageId: EPT_S_CANT_PERFORM_OP
  5180. //
  5181. // MessageText:
  5182. //
  5183. //  The server endpoint cannot perform the operation.
  5184. //
  5185. #define EPT_S_CANT_PERFORM_OP            1752
  5186.  
  5187. //
  5188. // MessageId: EPT_S_NOT_REGISTERED
  5189. //
  5190. // MessageText:
  5191. //
  5192. //  There are no more endpoints available from the endpoint mapper.
  5193. //
  5194. #define EPT_S_NOT_REGISTERED             1753
  5195.  
  5196. //
  5197. // MessageId: RPC_S_NOTHING_TO_EXPORT
  5198. //
  5199. // MessageText:
  5200. //
  5201. //  No interfaces have been exported.
  5202. //
  5203. #define RPC_S_NOTHING_TO_EXPORT          1754
  5204.  
  5205. //
  5206. // MessageId: RPC_S_INCOMPLETE_NAME
  5207. //
  5208. // MessageText:
  5209. //
  5210. //  The entry name is incomplete.
  5211. //
  5212. #define RPC_S_INCOMPLETE_NAME            1755
  5213.  
  5214. //
  5215. // MessageId: RPC_S_INVALID_VERS_OPTION
  5216. //
  5217. // MessageText:
  5218. //
  5219. //  The version option is invalid.
  5220. //
  5221. #define RPC_S_INVALID_VERS_OPTION        1756
  5222.  
  5223. //
  5224. // MessageId: RPC_S_NO_MORE_MEMBERS
  5225. //
  5226. // MessageText:
  5227. //
  5228. //  There are no more members.
  5229. //
  5230. #define RPC_S_NO_MORE_MEMBERS            1757
  5231.  
  5232. //
  5233. // MessageId: RPC_S_NOT_ALL_OBJS_UNEXPORTED
  5234. //
  5235. // MessageText:
  5236. //
  5237. //  There is nothing to unexport.
  5238. //
  5239. #define RPC_S_NOT_ALL_OBJS_UNEXPORTED    1758
  5240.  
  5241. //
  5242. // MessageId: RPC_S_INTERFACE_NOT_FOUND
  5243. //
  5244. // MessageText:
  5245. //
  5246. //  The interface was not found.
  5247. //
  5248. #define RPC_S_INTERFACE_NOT_FOUND        1759
  5249.  
  5250. //
  5251. // MessageId: RPC_S_ENTRY_ALREADY_EXISTS
  5252. //
  5253. // MessageText:
  5254. //
  5255. //  The entry already exists.
  5256. //
  5257. #define RPC_S_ENTRY_ALREADY_EXISTS       1760
  5258.  
  5259. //
  5260. // MessageId: RPC_S_ENTRY_NOT_FOUND
  5261. //
  5262. // MessageText:
  5263. //
  5264. //  The entry is not found.
  5265. //
  5266. #define RPC_S_ENTRY_NOT_FOUND            1761
  5267.  
  5268. //
  5269. // MessageId: RPC_S_NAME_SERVICE_UNAVAILABLE
  5270. //
  5271. // MessageText:
  5272. //
  5273. //  The name service is unavailable.
  5274. //
  5275. #define RPC_S_NAME_SERVICE_UNAVAILABLE   1762
  5276.  
  5277. //
  5278. // MessageId: RPC_S_INVALID_NAF_ID
  5279. //
  5280. // MessageText:
  5281. //
  5282. //  The network address family is invalid.
  5283. //
  5284. #define RPC_S_INVALID_NAF_ID             1763
  5285.  
  5286. //
  5287. // MessageId: RPC_S_CANNOT_SUPPORT
  5288. //
  5289. // MessageText:
  5290. //
  5291. //  The requested operation is not supported.
  5292. //
  5293. #define RPC_S_CANNOT_SUPPORT             1764
  5294.  
  5295. //
  5296. // MessageId: RPC_S_NO_CONTEXT_AVAILABLE
  5297. //
  5298. // MessageText:
  5299. //
  5300. //  No security context is available to allow impersonation.
  5301. //
  5302. #define RPC_S_NO_CONTEXT_AVAILABLE       1765
  5303.  
  5304. //
  5305. // MessageId: RPC_S_INTERNAL_ERROR
  5306. //
  5307. // MessageText:
  5308. //
  5309. //  An internal error occurred in a remote procedure call (RPC).
  5310. //
  5311. #define RPC_S_INTERNAL_ERROR             1766
  5312.  
  5313. //
  5314. // MessageId: RPC_S_ZERO_DIVIDE
  5315. //
  5316. // MessageText:
  5317. //
  5318. //  The RPC server attempted an integer division by zero.
  5319. //
  5320. #define RPC_S_ZERO_DIVIDE                1767
  5321.  
  5322. //
  5323. // MessageId: RPC_S_ADDRESS_ERROR
  5324. //
  5325. // MessageText:
  5326. //
  5327. //  An addressing error occurred in the RPC server.
  5328. //
  5329. #define RPC_S_ADDRESS_ERROR              1768
  5330.  
  5331. //
  5332. // MessageId: RPC_S_FP_DIV_ZERO
  5333. //
  5334. // MessageText:
  5335. //
  5336. //  A floating-point operation at the RPC server caused a division by zero.
  5337. //
  5338. #define RPC_S_FP_DIV_ZERO                1769
  5339.  
  5340. //
  5341. // MessageId: RPC_S_FP_UNDERFLOW
  5342. //
  5343. // MessageText:
  5344. //
  5345. //  A floating-point underflow occurred at the RPC server.
  5346. //
  5347. #define RPC_S_FP_UNDERFLOW               1770
  5348.  
  5349. //
  5350. // MessageId: RPC_S_FP_OVERFLOW
  5351. //
  5352. // MessageText:
  5353. //
  5354. //  A floating-point overflow occurred at the RPC server.
  5355. //
  5356. #define RPC_S_FP_OVERFLOW                1771
  5357.  
  5358. //
  5359. // MessageId: RPC_X_NO_MORE_ENTRIES
  5360. //
  5361. // MessageText:
  5362. //
  5363. //  The list of RPC servers available for the binding of auto handles
  5364. //  has been exhausted.
  5365. //
  5366. #define RPC_X_NO_MORE_ENTRIES            1772
  5367.  
  5368. //
  5369. // MessageId: RPC_X_SS_CHAR_TRANS_OPEN_FAIL
  5370. //
  5371. // MessageText:
  5372. //
  5373. //  Unable to open the character translation table file.
  5374. //
  5375. #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL    1773
  5376.  
  5377. //
  5378. // MessageId: RPC_X_SS_CHAR_TRANS_SHORT_FILE
  5379. //
  5380. // MessageText:
  5381. //
  5382. //  The file containing the character translation table has fewer than
  5383. //  512 bytes.
  5384. //
  5385. #define RPC_X_SS_CHAR_TRANS_SHORT_FILE   1774
  5386.  
  5387. //
  5388. // MessageId: RPC_X_SS_IN_NULL_CONTEXT
  5389. //
  5390. // MessageText:
  5391. //
  5392. //  A null context handle was passed from the client to the host during
  5393. //  a remote procedure call.
  5394. //
  5395. #define RPC_X_SS_IN_NULL_CONTEXT         1775
  5396.  
  5397. //
  5398. // MessageId: RPC_X_SS_CONTEXT_DAMAGED
  5399. //
  5400. // MessageText:
  5401. //
  5402. //  The context handle changed during a remote procedure call.
  5403. //
  5404. #define RPC_X_SS_CONTEXT_DAMAGED         1777
  5405.  
  5406. //
  5407. // MessageId: RPC_X_SS_HANDLES_MISMATCH
  5408. //
  5409. // MessageText:
  5410. //
  5411. //  The binding handles passed to a remote procedure call do not match.
  5412. //
  5413. #define RPC_X_SS_HANDLES_MISMATCH        1778
  5414.  
  5415. //
  5416. // MessageId: RPC_X_SS_CANNOT_GET_CALL_HANDLE
  5417. //
  5418. // MessageText:
  5419. //
  5420. //  The stub is unable to get the remote procedure call handle.
  5421. //
  5422. #define RPC_X_SS_CANNOT_GET_CALL_HANDLE  1779
  5423.  
  5424. //
  5425. // MessageId: RPC_X_NULL_REF_POINTER
  5426. //
  5427. // MessageText:
  5428. //
  5429. //  A null reference pointer was passed to the stub.
  5430. //
  5431. #define RPC_X_NULL_REF_POINTER           1780
  5432.  
  5433. //
  5434. // MessageId: RPC_X_ENUM_VALUE_OUT_OF_RANGE
  5435. //
  5436. // MessageText:
  5437. //
  5438. //  The enumeration value is out of range.
  5439. //
  5440. #define RPC_X_ENUM_VALUE_OUT_OF_RANGE    1781
  5441.  
  5442. //
  5443. // MessageId: RPC_X_BYTE_COUNT_TOO_SMALL
  5444. //
  5445. // MessageText:
  5446. //
  5447. //  The byte count is too small.
  5448. //
  5449. #define RPC_X_BYTE_COUNT_TOO_SMALL       1782
  5450.  
  5451. //
  5452. // MessageId: RPC_X_BAD_STUB_DATA
  5453. //
  5454. // MessageText:
  5455. //
  5456. //  The stub received bad data.
  5457. //
  5458. #define RPC_X_BAD_STUB_DATA              1783
  5459.  
  5460. //
  5461. // MessageId: ERROR_INVALID_USER_BUFFER
  5462. //
  5463. // MessageText:
  5464. //
  5465. //  The supplied user buffer is not valid for the requested operation.
  5466. //
  5467. #define ERROR_INVALID_USER_BUFFER        1784
  5468.  
  5469. //
  5470. // MessageId: ERROR_UNRECOGNIZED_MEDIA
  5471. //
  5472. // MessageText:
  5473. //
  5474. //  The disk media is not recognized.  It may not be formatted.
  5475. //
  5476. #define ERROR_UNRECOGNIZED_MEDIA         1785
  5477.  
  5478. //
  5479. // MessageId: ERROR_NO_TRUST_LSA_SECRET
  5480. //
  5481. // MessageText:
  5482. //
  5483. //  The workstation does not have a trust secret.
  5484. //
  5485. #define ERROR_NO_TRUST_LSA_SECRET        1786
  5486.  
  5487. //
  5488. // MessageId: ERROR_NO_TRUST_SAM_ACCOUNT
  5489. //
  5490. // MessageText:
  5491. //
  5492. //  The SAM database on the Windows NT Server does not have a computer
  5493. //  account for this workstation trust relationship.
  5494. //
  5495. #define ERROR_NO_TRUST_SAM_ACCOUNT       1787
  5496.  
  5497. //
  5498. // MessageId: ERROR_TRUSTED_DOMAIN_FAILURE
  5499. //
  5500. // MessageText:
  5501. //
  5502. //  The trust relationship between the primary domain and the trusted
  5503. //  domain failed.
  5504. //
  5505. #define ERROR_TRUSTED_DOMAIN_FAILURE     1788
  5506.  
  5507. //
  5508. // MessageId: ERROR_TRUSTED_RELATIONSHIP_FAILURE
  5509. //
  5510. // MessageText:
  5511. //
  5512. //  The trust relationship between this workstation and the primary
  5513. //  domain failed.
  5514. //
  5515. #define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789
  5516.  
  5517. //
  5518. // MessageId: ERROR_TRUST_FAILURE
  5519. //
  5520. // MessageText:
  5521. //
  5522. //  The network logon failed.
  5523. //
  5524. #define ERROR_TRUST_FAILURE              1790
  5525.  
  5526. //
  5527. // MessageId: RPC_S_CALL_IN_PROGRESS
  5528. //
  5529. // MessageText:
  5530. //
  5531. //  A remote procedure call is already in progress for this thread.
  5532. //
  5533. #define RPC_S_CALL_IN_PROGRESS           1791
  5534.  
  5535. //
  5536. // MessageId: ERROR_NETLOGON_NOT_STARTED
  5537. //
  5538. // MessageText:
  5539. //
  5540. //  An attempt was made to logon, but the network logon service was not started.
  5541. //
  5542. #define ERROR_NETLOGON_NOT_STARTED       1792
  5543.  
  5544. //
  5545. // MessageId: ERROR_ACCOUNT_EXPIRED
  5546. //
  5547. // MessageText:
  5548. //
  5549. //  The user's account has expired.
  5550. //
  5551. #define ERROR_ACCOUNT_EXPIRED            1793
  5552.  
  5553. //
  5554. // MessageId: ERROR_REDIRECTOR_HAS_OPEN_HANDLES
  5555. //
  5556. // MessageText:
  5557. //
  5558. //  The redirector is in use and cannot be unloaded.
  5559. //
  5560. #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794
  5561.  
  5562. //
  5563. // MessageId: ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
  5564. //
  5565. // MessageText:
  5566. //
  5567. //  The specified printer driver is already installed.
  5568. //
  5569. #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795
  5570.  
  5571. //
  5572. // MessageId: ERROR_UNKNOWN_PORT
  5573. //
  5574. // MessageText:
  5575. //
  5576. //  The specified port is unknown.
  5577. //
  5578. #define ERROR_UNKNOWN_PORT               1796
  5579.  
  5580. //
  5581. // MessageId: ERROR_UNKNOWN_PRINTER_DRIVER
  5582. //
  5583. // MessageText:
  5584. //
  5585. //  The printer driver is unknown.
  5586. //
  5587. #define ERROR_UNKNOWN_PRINTER_DRIVER     1797
  5588.  
  5589. //
  5590. // MessageId: ERROR_UNKNOWN_PRINTPROCESSOR
  5591. //
  5592. // MessageText:
  5593. //
  5594. //  The print processor is unknown.
  5595. //
  5596. #define ERROR_UNKNOWN_PRINTPROCESSOR     1798
  5597.  
  5598. //
  5599. // MessageId: ERROR_INVALID_SEPARATOR_FILE
  5600. //
  5601. // MessageText:
  5602. //
  5603. //  The specified separator file is invalid.
  5604. //
  5605. #define ERROR_INVALID_SEPARATOR_FILE     1799
  5606.  
  5607. //
  5608. // MessageId: ERROR_INVALID_PRIORITY
  5609. //
  5610. // MessageText:
  5611. //
  5612. //  The specified priority is invalid.
  5613. //
  5614. #define ERROR_INVALID_PRIORITY           1800
  5615.  
  5616. //
  5617. // MessageId: ERROR_INVALID_PRINTER_NAME
  5618. //
  5619. // MessageText:
  5620. //
  5621. //  The printer name is invalid.
  5622. //
  5623. #define ERROR_INVALID_PRINTER_NAME       1801
  5624.  
  5625. //
  5626. // MessageId: ERROR_PRINTER_ALREADY_EXISTS
  5627. //
  5628. // MessageText:
  5629. //
  5630. //  The printer already exists.
  5631. //
  5632. #define ERROR_PRINTER_ALREADY_EXISTS     1802
  5633.  
  5634. //
  5635. // MessageId: ERROR_INVALID_PRINTER_COMMAND
  5636. //
  5637. // MessageText:
  5638. //
  5639. //  The printer command is invalid.
  5640. //
  5641. #define ERROR_INVALID_PRINTER_COMMAND    1803
  5642.  
  5643. //
  5644. // MessageId: ERROR_INVALID_DATATYPE
  5645. //
  5646. // MessageText:
  5647. //
  5648. //  The specified datatype is invalid.
  5649. //
  5650. #define ERROR_INVALID_DATATYPE           1804
  5651.  
  5652. //
  5653. // MessageId: ERROR_INVALID_ENVIRONMENT
  5654. //
  5655. // MessageText:
  5656. //
  5657. //  The Environment specified is invalid.
  5658. //
  5659. #define ERROR_INVALID_ENVIRONMENT        1805
  5660.  
  5661. //
  5662. // MessageId: RPC_S_NO_MORE_BINDINGS
  5663. //
  5664. // MessageText:
  5665. //
  5666. //  There are no more bindings.
  5667. //
  5668. #define RPC_S_NO_MORE_BINDINGS           1806
  5669.  
  5670. //
  5671. // MessageId: ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
  5672. //
  5673. // MessageText:
  5674. //
  5675. //  The account used is an interdomain trust account.  Use your global user account or local user account to access this server.
  5676. //
  5677. #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807
  5678.  
  5679. //
  5680. // MessageId: ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
  5681. //
  5682. // MessageText:
  5683. //
  5684. //  The account used is a Computer Account.  Use your global user account or local user account to access this server.
  5685. //
  5686. #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808
  5687.  
  5688. //
  5689. // MessageId: ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
  5690. //
  5691. // MessageText:
  5692. //
  5693. //  The account used is an server trust account.  Use your global user account or local user account to access this server.
  5694. //
  5695. #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809
  5696.  
  5697. //
  5698. // MessageId: ERROR_DOMAIN_TRUST_INCONSISTENT
  5699. //
  5700. // MessageText:
  5701. //
  5702. //  The name or security ID (SID) of the domain specified is inconsistent
  5703. //  with the trust information for that domain.
  5704. //
  5705. #define ERROR_DOMAIN_TRUST_INCONSISTENT  1810
  5706.  
  5707. //
  5708. // MessageId: ERROR_SERVER_HAS_OPEN_HANDLES
  5709. //
  5710. // MessageText:
  5711. //
  5712. //  The server is in use and cannot be unloaded.
  5713. //
  5714. #define ERROR_SERVER_HAS_OPEN_HANDLES    1811
  5715.  
  5716. //
  5717. // MessageId: ERROR_RESOURCE_DATA_NOT_FOUND
  5718. //
  5719. // MessageText:
  5720. //
  5721. //  The specified image file did not contain a resource section.
  5722. //
  5723. #define ERROR_RESOURCE_DATA_NOT_FOUND    1812
  5724.  
  5725. //
  5726. // MessageId: ERROR_RESOURCE_TYPE_NOT_FOUND
  5727. //
  5728. // MessageText:
  5729. //
  5730. //  The specified resource type can not be found in the image file.
  5731. //
  5732. #define ERROR_RESOURCE_TYPE_NOT_FOUND    1813
  5733.  
  5734. //
  5735. // MessageId: ERROR_RESOURCE_NAME_NOT_FOUND
  5736. //
  5737. // MessageText:
  5738. //
  5739. //  The specified resource name can not be found in the image file.
  5740. //
  5741. #define ERROR_RESOURCE_NAME_NOT_FOUND    1814
  5742.  
  5743. //
  5744. // MessageId: ERROR_RESOURCE_LANG_NOT_FOUND
  5745. //
  5746. // MessageText:
  5747. //
  5748. //  The specified resource language ID cannot be found in the image file.
  5749. //
  5750. #define ERROR_RESOURCE_LANG_NOT_FOUND    1815
  5751.  
  5752. //
  5753. // MessageId: ERROR_NOT_ENOUGH_QUOTA
  5754. //
  5755. // MessageText:
  5756. //
  5757. //  Not enough quota is available to process this command.
  5758. //
  5759. #define ERROR_NOT_ENOUGH_QUOTA           1816
  5760.  
  5761. //
  5762. // MessageId: RPC_S_NO_INTERFACES
  5763. //
  5764. // MessageText:
  5765. //
  5766. //  No interfaces have been registered.
  5767. //
  5768. #define RPC_S_NO_INTERFACES              1817
  5769.  
  5770. //
  5771. // MessageId: RPC_S_CALL_CANCELLED
  5772. //
  5773. // MessageText:
  5774. //
  5775. //  The server was altered while processing this call.
  5776. //
  5777. #define RPC_S_CALL_CANCELLED             1818
  5778.  
  5779. //
  5780. // MessageId: RPC_S_BINDING_INCOMPLETE
  5781. //
  5782. // MessageText:
  5783. //
  5784. //  The binding handle does not contain all required information.
  5785. //
  5786. #define RPC_S_BINDING_INCOMPLETE         1819
  5787.  
  5788. //
  5789. // MessageId: RPC_S_COMM_FAILURE
  5790. //
  5791. // MessageText:
  5792. //
  5793. //  Communications failure.
  5794. //
  5795. #define RPC_S_COMM_FAILURE               1820
  5796.  
  5797. //
  5798. // MessageId: RPC_S_UNSUPPORTED_AUTHN_LEVEL
  5799. //
  5800. // MessageText:
  5801. //
  5802. //  The requested authentication level is not supported.
  5803. //
  5804. #define RPC_S_UNSUPPORTED_AUTHN_LEVEL    1821
  5805.  
  5806. //
  5807. // MessageId: RPC_S_NO_PRINC_NAME
  5808. //
  5809. // MessageText:
  5810. //
  5811. //  No principal name registered.
  5812. //
  5813. #define RPC_S_NO_PRINC_NAME              1822
  5814.  
  5815. //
  5816. // MessageId: RPC_S_NOT_RPC_ERROR
  5817. //
  5818. // MessageText:
  5819. //
  5820. //  The error specified is not a valid Windows RPC error code.
  5821. //
  5822. #define RPC_S_NOT_RPC_ERROR              1823
  5823.  
  5824. //
  5825. // MessageId: RPC_S_UUID_LOCAL_ONLY
  5826. //
  5827. // MessageText:
  5828. //
  5829. //  A UUID that is valid only on this computer has been allocated.
  5830. //
  5831. #define RPC_S_UUID_LOCAL_ONLY            1824
  5832.  
  5833. //
  5834. // MessageId: RPC_S_SEC_PKG_ERROR
  5835. //
  5836. // MessageText:
  5837. //
  5838. //  A security package specific error occurred.
  5839. //
  5840. #define RPC_S_SEC_PKG_ERROR              1825
  5841.  
  5842. //
  5843. // MessageId: RPC_S_NOT_CANCELLED
  5844. //
  5845. // MessageText:
  5846. //
  5847. //  Thread is not cancelled.
  5848. //
  5849. #define RPC_S_NOT_CANCELLED              1826
  5850.  
  5851. //
  5852. // MessageId: RPC_X_INVALID_ES_ACTION
  5853. //
  5854. // MessageText:
  5855. //
  5856. //  Invalid operation on the encoding/decoding handle.
  5857. //
  5858. #define RPC_X_INVALID_ES_ACTION          1827
  5859.  
  5860. //
  5861. // MessageId: RPC_X_WRONG_ES_VERSION
  5862. //
  5863. // MessageText:
  5864. //
  5865. //  Incompatible version of the serializing package.
  5866. //
  5867. #define RPC_X_WRONG_ES_VERSION           1828
  5868.  
  5869. //
  5870. // MessageId: RPC_X_WRONG_STUB_VERSION
  5871. //
  5872. // MessageText:
  5873. //
  5874. //  Incompatible version of the RPC stub.
  5875. //
  5876. #define RPC_X_WRONG_STUB_VERSION         1829
  5877.  
  5878. //
  5879. // MessageId: RPC_S_GROUP_MEMBER_NOT_FOUND
  5880. //
  5881. // MessageText:
  5882. //
  5883. //  The group member was not found.
  5884. //
  5885. #define RPC_S_GROUP_MEMBER_NOT_FOUND     1898
  5886.  
  5887. //
  5888. // MessageId: EPT_S_CANT_CREATE
  5889. //
  5890. // MessageText:
  5891. //
  5892. //  The endpoint mapper database could not be created.
  5893. //
  5894. #define EPT_S_CANT_CREATE                1899
  5895.  
  5896. //
  5897. // MessageId: RPC_S_INVALID_OBJECT
  5898. //
  5899. // MessageText:
  5900. //
  5901. //  The object universal unique identifier (UUID) is the nil UUID.
  5902. //
  5903. #define RPC_S_INVALID_OBJECT             1900
  5904.  
  5905. //
  5906. // MessageId: ERROR_INVALID_TIME
  5907. //
  5908. // MessageText:
  5909. //
  5910. //  The specified time is invalid.
  5911. //
  5912. #define ERROR_INVALID_TIME               1901
  5913.  
  5914. //
  5915. // MessageId: ERROR_INVALID_FORM_NAME
  5916. //
  5917. // MessageText:
  5918. //
  5919. //  The specified Form name is invalid.
  5920. //
  5921. #define ERROR_INVALID_FORM_NAME          1902
  5922.  
  5923. //
  5924. // MessageId: ERROR_INVALID_FORM_SIZE
  5925. //
  5926. // MessageText:
  5927. //
  5928. //  The specified Form size is invalid
  5929. //
  5930. #define ERROR_INVALID_FORM_SIZE          1903
  5931.  
  5932. //
  5933. // MessageId: ERROR_ALREADY_WAITING
  5934. //
  5935. // MessageText:
  5936. //
  5937. //  The specified Printer handle is already being waited on
  5938. //
  5939. #define ERROR_ALREADY_WAITING            1904
  5940.  
  5941. //
  5942. // MessageId: ERROR_PRINTER_DELETED
  5943. //
  5944. // MessageText:
  5945. //
  5946. //  The specified Printer has been deleted
  5947. //
  5948. #define ERROR_PRINTER_DELETED            1905
  5949.  
  5950. //
  5951. // MessageId: ERROR_INVALID_PRINTER_STATE
  5952. //
  5953. // MessageText:
  5954. //
  5955. //  The state of the Printer is invalid
  5956. //
  5957. #define ERROR_INVALID_PRINTER_STATE      1906
  5958.  
  5959. //
  5960. // MessageId: ERROR_PASSWORD_MUST_CHANGE
  5961. //
  5962. // MessageText:
  5963. //
  5964. //  The user must change his password before he logs on the first time.
  5965. //
  5966. #define ERROR_PASSWORD_MUST_CHANGE       1907
  5967.  
  5968. //
  5969. // MessageId: ERROR_DOMAIN_CONTROLLER_NOT_FOUND
  5970. //
  5971. // MessageText:
  5972. //
  5973. //  Could not find the domain controller for this domain.
  5974. //
  5975. #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908
  5976.  
  5977. //
  5978. // MessageId: ERROR_ACCOUNT_LOCKED_OUT
  5979. //
  5980. // MessageText:
  5981. //
  5982. //  The referenced account is currently locked out and may not be logged on to.
  5983. //
  5984. #define ERROR_ACCOUNT_LOCKED_OUT         1909
  5985.  
  5986. //
  5987. // MessageId: ERROR_NO_BROWSER_SERVERS_FOUND
  5988. //
  5989. // MessageText:
  5990. //
  5991. //  The list of servers for this workgroup is not currently available
  5992. //
  5993. #define ERROR_NO_BROWSER_SERVERS_FOUND   6118
  5994.  
  5995.  
  5996.  
  5997.  
  5998. ///////////////////////////
  5999. //                       //
  6000. //   OpenGL Error Code   //
  6001. //                       //
  6002. ///////////////////////////
  6003.  
  6004.  
  6005. //
  6006. // MessageId: ERROR_INVALID_PIXEL_FORMAT
  6007. //
  6008. // MessageText:
  6009. //
  6010. //  The pixel format is invalid.
  6011. //
  6012. #define ERROR_INVALID_PIXEL_FORMAT       2000
  6013.  
  6014. //
  6015. // MessageId: ERROR_BAD_DRIVER
  6016. //
  6017. // MessageText:
  6018. //
  6019. //  The specified driver is invalid.
  6020. //
  6021. #define ERROR_BAD_DRIVER                 2001
  6022.  
  6023. //
  6024. // MessageId: ERROR_INVALID_WINDOW_STYLE
  6025. //
  6026. // MessageText:
  6027. //
  6028. //  The window style or class attribute is invalid for this operation.
  6029. //
  6030. #define ERROR_INVALID_WINDOW_STYLE       2002
  6031.  
  6032. //
  6033. // MessageId: ERROR_METAFILE_NOT_SUPPORTED
  6034. //
  6035. // MessageText:
  6036. //
  6037. //  The requested metafile operation is not supported.
  6038. //
  6039. #define ERROR_METAFILE_NOT_SUPPORTED     2003
  6040.  
  6041. //
  6042. // MessageId: ERROR_TRANSFORM_NOT_SUPPORTED
  6043. //
  6044. // MessageText:
  6045. //
  6046. //  The requested transformation operation is not supported.
  6047. //
  6048. #define ERROR_TRANSFORM_NOT_SUPPORTED    2004
  6049.  
  6050. //
  6051. // MessageId: ERROR_CLIPPING_NOT_SUPPORTED
  6052. //
  6053. // MessageText:
  6054. //
  6055. //  The requested clipping operation is not supported.
  6056. //
  6057. #define ERROR_CLIPPING_NOT_SUPPORTED     2005
  6058.  
  6059. // End of OpenGL error codes
  6060.  
  6061.  
  6062.  
  6063. ////////////////////////////////////
  6064. //                                //
  6065. //     Win32 Spooler Error Codes  //
  6066. //                                //
  6067. ////////////////////////////////////
  6068. //
  6069. // MessageId: ERROR_UNKNOWN_PRINT_MONITOR
  6070. //
  6071. // MessageText:
  6072. //
  6073. //  The specified print monitor is unknown.
  6074. //
  6075. #define ERROR_UNKNOWN_PRINT_MONITOR      3000
  6076.  
  6077. //
  6078. // MessageId: ERROR_PRINTER_DRIVER_IN_USE
  6079. //
  6080. // MessageText:
  6081. //
  6082. //  The specified printer driver is currently in use.
  6083. //
  6084. #define ERROR_PRINTER_DRIVER_IN_USE      3001
  6085.  
  6086. //
  6087. // MessageId: ERROR_SPOOL_FILE_NOT_FOUND
  6088. //
  6089. // MessageText:
  6090. //
  6091. //  The spool file was not found.
  6092. //
  6093. #define ERROR_SPOOL_FILE_NOT_FOUND       3002
  6094.  
  6095. //
  6096. // MessageId: ERROR_SPL_NO_STARTDOC
  6097. //
  6098. // MessageText:
  6099. //
  6100. //  A StartDocPrinter call was not issued.
  6101. //
  6102. #define ERROR_SPL_NO_STARTDOC            3003
  6103.  
  6104. //
  6105. // MessageId: ERROR_SPL_NO_ADDJOB
  6106. //
  6107. // MessageText:
  6108. //
  6109. //  An AddJob call was not issued.
  6110. //
  6111. #define ERROR_SPL_NO_ADDJOB              3004
  6112.  
  6113. //
  6114. // MessageId: ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED
  6115. //
  6116. // MessageText:
  6117. //
  6118. //  The specified print processor has already been installed.
  6119. //
  6120. #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005
  6121.  
  6122. //
  6123. // MessageId: ERROR_PRINT_MONITOR_ALREADY_INSTALLED
  6124. //
  6125. // MessageText:
  6126. //
  6127. //  The specified print monitor has already been installed.
  6128. //
  6129. #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006
  6130.  
  6131. ////////////////////////////////////
  6132. //                                //
  6133. //     Wins Error Codes           //
  6134. //                                //
  6135. ////////////////////////////////////
  6136. //
  6137. // MessageId: ERROR_WINS_INTERNAL
  6138. //
  6139. // MessageText:
  6140. //
  6141. //  WINS encountered an error while processing the command.
  6142. //
  6143. #define ERROR_WINS_INTERNAL              4000
  6144.  
  6145. //
  6146. // MessageId: ERROR_CAN_NOT_DEL_LOCAL_WINS
  6147. //
  6148. // MessageText:
  6149. //
  6150. //  The local WINS can not be deleted.
  6151. //
  6152. #define ERROR_CAN_NOT_DEL_LOCAL_WINS     4001
  6153.  
  6154. //
  6155. // MessageId: ERROR_STATIC_INIT
  6156. //
  6157. // MessageText:
  6158. //
  6159. //  The importation from the file failed.
  6160. //
  6161. #define ERROR_STATIC_INIT                4002
  6162.  
  6163. //
  6164. // MessageId: ERROR_INC_BACKUP
  6165. //
  6166. // MessageText:
  6167. //
  6168. //  The backup Failed.  Was a full backup done before ?
  6169. //
  6170. #define ERROR_INC_BACKUP                 4003
  6171.  
  6172. //
  6173. // MessageId: ERROR_FULL_BACKUP
  6174. //
  6175. // MessageText:
  6176. //
  6177. //  The backup Failed.  Check the directory that you are backing the database to.
  6178. //
  6179. #define ERROR_FULL_BACKUP                4004
  6180.  
  6181. //
  6182. // MessageId: ERROR_REC_NON_EXISTENT
  6183. //
  6184. // MessageText:
  6185. //
  6186. //  The name does not exist in the WINS database.
  6187. //
  6188. #define ERROR_REC_NON_EXISTENT           4005
  6189.  
  6190. //
  6191. // MessageId: ERROR_RPL_NOT_ALLOWED
  6192. //
  6193. // MessageText:
  6194. //
  6195. //  Replication with a non-configured partner is not allowed.
  6196. //
  6197. #define ERROR_RPL_NOT_ALLOWED            4006
  6198.  
  6199. #endif && _WINERROR_
  6200.